Place it at the cut from the calm setup shot to the reaction shot, not under dialogue. Follow it with a startled reaction sound for the person outside the door, then end on a deadpan clip if the joke needs a second beat.