Place it at the end of a polite scene, just before the scene changes, then follow it with emotional damage for the payoff. A fart sound can underline the gag before that reaction, while a short laugh closes the edit.