Place it at the end of a school scene, just before the closing shot, then follow it with a bell ding to signal that class is over and let a Dun Dun Dun sting underline the joke for the next beat.