Use it as the musical payoff near the end of an edit, after the setup has played out. Follow it with a funny ha ha laugh to underline the joke, then close with a ba dum tss drum sting for a tidy finish.