I've used this one and it seemed to work: "All of your joke making privelages have been revoked. All jokes must be submitted in writing, and if I haven't heard them a million times, you will be granted permission to voice said joke outloud. Until permission is granted, please keep all stupid comments to yourself.".

Said it with a genuine smile on my face. Haven't gotten any static since.