Place it right after the wrong guess or confusing reveal in your edit, as the reaction beat before you cut back to the main action. Follow it with a laugh clip to close the gag, or precede it with a record scratch for extra emphasis on the mistake.