Place it at the end of a setup line, just after the reference is named, so it closes the beat. Follow it with a laugh or a sting to extend the reaction, and keep it ahead of any closing line so the reference stays the last thing viewers remember.