I do know how this can hurt, but do try and remember the man is just an idiot!.
There are some people, not just men, who think that everything they say is just downright hilarious, put-downs especially. I'll bet he was showing off trying to be funny. The last time a friend of mine called me ugly I said to her 'Well look who's talking! I heard when you were born the Doctor turned round and slapped your mother!'
Sadly, she didn't understand it, but everyone else did, and she's a lot quieter these days! lol.
Ugly is as Ugly does my mother always said, hold your head high, if you see him, smile, and feel sorry for what a mserable git he must be trying to get laughs from being unkind to others at his age!