I think avoiding gratuitous ridicule should be the default. If you can phrase your question or answer while avoiding that, do so.
It gets much more hairy when the ricule is itself the topic of the question. Some of the users here unfortunately ask with some regularity questions structured like:
- here's a meme/label/story ridiculing X
- what is the origin of this meme/label/story? (Or something else like that, of marginal interest.)
I generally give a pass to people who seldom ask something like that. But if I see a user repeatedly asking questions like that, especially when the bias becomes evident by repetition, I downvote, to the limit of serial voting rules.
We also have a closing reason along the lines of: not a real question, just seeks to discredit something. It's a matter of judgment what the "primary purpose" of a question is, of course.