Maybe they are trying to be humorous when they say things like that, but they don't realize that their comments are actually hurtful. If it bothers you, maybe you can let them know that. Your friends won't find any enjoyment out of hurting your feelings.