Inappropriate comments

Just wondering if anyone else has had people say inappropriate comments after a miscarriage. I'm assuming they were unintentional, but so far I've been told "At least you'll get to keep your social life" and the day of my miscarriage a single 'friend' said  "You should be grateful that you have a husband to have a baby with".