Place it at the very end of a setup and punchline segment, after the speaker stops and before the next scene starts. Pair it with a rimshot right before it for a failed joke, or follow it with a lone cough to close a deadpan reaction edit cleanly.