If it’s genuinely hurting your feelings you have to make that clear to your friends. If they keep making the jokes even after youve told them how you feel, they’re being rude and probably not worth staying friends with.
Good luck, I hope your friends will be understanding and apologize to you.
I think you should tell them if they keep doing it and it offends you say bye-bye to them it is their problem if they lose a good friend because they could not change what they were doing cuz it offends you.