Was Woody Allen's What's Up, Tiger Lilly a precursor to the word play, gag movies like Airplane?
Dialogue example:
Shepherd Wong lives in this house (shows diagram/schematic).
You mean he lives in that piece of paper?
No, you idiot, he has a regular house!
not really a WA fan but this sounds interesting...from Wikipedia:
Allen took a Japanese spy film, International Secret Police: Key of Keys, and overdubbed it with completely original dialogue that had nothing to do with the plot of the original film.[2] By putting in new scenes and rearranging the order of existing scenes, he completely changed the tone of the film from a James Bond clone into a comedy about the search for the world's best egg salad recipe.[3]
it's pretty great- and best of all, doesn't have woody allen or woody allen clone in it.
eta: IIRC, he also edited in some band performance shots of... Loving Spoonful or similar. Or maybe that's from another movie... googling now.
eta2: good gravy... I got it right. I can remember that- from a movie I haven't seen in probably 30 years- but I couldn't tell you word one of what my wife has said to me in weeks.
It is on youtube, BTW.The Lovin Spoonfull soundtrack actually worked pretty well, especially the lazy instrumental guitar stuff.
Another example of his overlaid dialogue. Wing Fat makes a killing gambling at a casino on Shepherd Wong's boat. He cashes out his chips, stuffs a bag full of cash, and than the employee asks if he would like some female companionship. He says sure, walks to another part of the boat, the guide stops at the end of a corridor, says check this out, claps his hands and about a half dozen women immediately open the door. Wing Fat strolls down it, saying, Hi, Hello, Nice to meet you, than stops short - MOM!
Earlier, the main Japanese James Bond-like spy is with one of the main female spies (there are two Yaki sisters, Teri and Suki*

). In a crowded room, she discretely tells him, You are pretty good looking, nice body, I'd like to tear your clothes off right here and make violent love to you on the floor. When he says sounds good and tries to kiss here, she disgustedly says, all you men ever think about is sex.
Karate fight dialogue - Saracen pig. Roman Dog. Spanish Fly.
* They were the same two Japanese female leads in the Bond film, You Only Live Twice. The Asian stripper during the end credit roll (Allen jokes he promised her a part in the movie - she married his comic idol, Mort Sahl) is China Lee, the first Asian Playboy playmate of the month - '64?