Place it at the start of the gag scene, let the on-screen action play out, then finish with a funny ha ha laugh and follow that with the ba dum tss drum sting for the final beat.