I have posted an answer to a question, that included a joke and serious information. The humor was clearly constrained to what i would call a short witty remark, clearly marked as humor by following it up with
only joking... sort of...
Despite the cheekiness, I think it can be called a clearly marked humorous remark.
A mod then removed that humorous remark leaving the rest of the answer intact.
Leaving aside the question of qualifying my wittiness, humorousness or otherwise quality of my answer:
Are humorous remarks in questions or answers not allowed, contrary to the community guidelines, or just generally discouraged in order to keep a dry (and constructively depressive) tone?
(Cutting braces included as a service to editors.)