Place it at the end of a short reaction sequence, after the setup line has landed and before the next scene begins. Follow it with an awkward crickets cue when the joke needs a pause, or lead into it with a chipmunk laugh when the energy should stay high.