Ideally you pair the shirt with a personality that never leaves any doubt that it is a joke.
Ideally, but that still doesn't really solve the problem. It's not really practical to counter an indiscriminate broadcast of contempt with point to point interactions. People who don't know you or don't know you well will always see your shirt, if you wear it out.
You want to do the opposite: indiscriminately broadcast a kind personality, then deploy the sarcasm in point to point contexts "that never [leave] any doubt that it is a joke".
This made me realize just now the functional* couples I know would never wear somethings so blunt.
This is all purely anecdotal but just sharing my personal observations :)
*I need a better word that just describes the objective truth with no baggage please help lol