What not to say to someone who's had a miscarriage.

Charlie
So today one of my close friends said to me 'atleast you weren't that far gone and you weren't excited yet'
6 weeks or 6 months it's still heartbreaking. 
Have you ladies had anyone say something insensitive? I