Put it immediately after the question or twist in the edit, then follow it with a Ba Dum Tss drum sting for the punchline beat, or a funny ha ha laugh once the joke lands.