Careful
The serious consideration of the world unleavened by levity would be a particularly dull place.
I can understand why you would want to curb adolescent excess (knob jokes etc), but a failure to include humour (whether irony, sarcasm, or punning) would mark you down as poor writers.