I'm going to ghost my long time friends over jokes
What makes you want to ghost your own friends over jokes?
The jokes they made hurt my feelings.
It is fine to be upset at some jokes directed towards you. But you need to tell your friends that those jokes are off limits to you and they hurt you. They will understand and not say them to you.
Nah, I don't give a shit about them. They can say what they want.
You've made it clear that you're willing to ghost them for making these jokes, so you clearly care. Telling them would be so much easier than pretending to be indifferent-- and then you could even potentially keep your friends.