Place it near the end of an edit, right after the setup and just before the payoff, then follow it with a funny laugh to close the scene on a joke.