Place it immediately after the visual gag, at the exact beat where the joke lands, then follow it with Ba Dum Tss for a punchline or Correct Ding when the joke lands cleanly and the audience should know it worked.