After a brief comment exchange on a comment I left that, admittedly, was meant solely as an attempt at humour (and thus did not actively contribute to the solving of the question) I realised that I think we have a bit of a policy gap when it comes to humour on SO.
Strictly speaking, the answer to this question is "no", humour is not considered acceptable content of a comment.
But I think we should, as SO contributors and community members, think about the effect that has on our wider community and overall SO culture.
We have all (most likely) seen some great examples of humorous comments (I won't link to them now) that are funny (to us), don't seem to cause harm (they are not at the expense of someone else), and maybe even perk you up a little in your day.
This dated (but still relevant) blog post from one of SO's co-founders Jeff Atwood brilliantly exemplifies the problem but falls a bit short of arriving at a clear "humour policy".
In the spirit of being agile and iterative, what about clarifying what we mean by "only a certain amount of fun will be tolerated, and always with steely, businesslike frowns" (which is funny!) by actually giving an example, or some sort of framework to work with.
What if we added a section like this to the Help Center for humour so that results are not nil:
When is it okay to post a humorous comment, and what are some examples of humour etiquette?
While StackOverflow is at its core a Q&A site for programmers and enthusiasts, if you feel you absolutely must share something witty:
- keep it friendly: don't make jokes at other peoples expense (i.e. by dissing or dismissing them)
- pair it with constructive input: making someone smile is great, but making someone smile after posting a great answer is even better
- keep it culturally agnostic: you might find religion X or philosophy Y funny, others might very well live by it
- never, ever post the answer "42" to a question on Stack Overflow, unless you absolutely know the Ultimate Question