I've known a lot of people in my life who seem to think it's perfectly reasonable to comment on other people's appearance without invitation, and I'm not just talking about compliments.
When I was younger and less knowledgable about my own mental health issues, let alone those of others, I mostly just ignored the comments. Now, though, I try to be the person who points out how wrong it is to assume anything about the person based off their appearance.