I'm going to give them a reason to uninvite me
Why do you want them to uninvite you?
I can't stand their jokes anymore.
It's okay to not want to be somewhere you're uncomfortable, but you should be honest with your reason to not go. Doing something mean or rude to get uninivited is just putting off the issue.
I'm tired of the jokes, I want to go somewhere I can be myself.
If you're trying to avoid attending something because you feel uncomfortable there, then likely its something you've experienced before at said event. If you're not honest about why you don't want to attend then you will continue to have this problem of wanting to get out of attending such events in the future.