This goes much further than just jokes. It's better to never to say someone is an asshole. As if it's an immutable part of their character. It's almost always better to say someone is acting like an asshole. Or in more extreme cases someone often acts like an asshole.
This leaves room for improvement/reevaluation and it's actually far more accurate in almost all cases.
Yeah, it just doesn't work. Then you argue about whether you called somebody an asshole, and you're on the defensive (even though the other person was a jerk).
I think what _may_ work is "don't be a jerk" or "stop being a jerk".