Just putting this out there for those that might (even unintentionally) blurt out something like that, however well-meaning it is: Don't.
This can be a very sore topic for a lot of people, so it's best to avoid it, unless you're very close and your friend/coworker/family member shows clear signs that they want to talk about it.