Put it at the very end of an edit, after the last joke has landed, so it closes the scene instead of interrupting it. Follow a surprised reaction like the Bruh sound with it for a comic exit, or lead into it from a short laugh so the goodbye becomes the final beat.