Parodied in The Far Side, where a man wakes up as just a head and screams "AAAAAH! DOCTOR, WHAT HAVE YOU DONE WITH MY BODY!?" The doctor slaps him and he says "Thanks, I needed that."
In one Sherman's Lagoon stripe, Filmore begins flipping out over the tidal wave that's set to wipe out the lagoon. Sherman promptly gives him the slap, but says "Thanks, I need that" himself.
Filmore:I'm supposed to say that.
One FoxTrot strip has Peter about to spray Roger with the garden hose when, while trying to trim the hedges, he ends up hallucinating that he is back inside watching baseball after his tools "melted."
In one slightly infamous Jimmy Olsen comic, Jimmy lands in hot water with Lucy Lane when a set of incredible coincidences convince her that he's been striking her repeatedly. What finally changes her mind is when Jimmy saves her life by slapping her to keep her from screaming and startling a deadly snake.
The Batman mini-series The Legend of the Batman had an interesting one: Bats was running himself ragged trying to figure out who was trying to kill him from within. Turned out it was himself, suffering from dementia after being caught in an explosion. When he was trapped in a closing chasm of the Batcave, who should come out but his father, dressed in the "first" Batman costume, urging Bruce to keep living. Bats snaps out of it just in time to save each other. He then thanks the man behind the mask, Robin.
In a story called “The Man who Ended Batman’s Career” (from Detective Comics #247), a mad scientist invents a serum that makes Batman terrified of bats in a way that even looking at himself in costume or holding a batarang freaks him out. This causes him to give up his identity as Batman and adopt the new identity of Starman (which makes him wear a hilariously crazy costume◊). The criminals eventually realize that Starman (who fights like Batman and hangs out with Robin) is Batman and use his phobia of bats to their advantage. Eventually, Robin has enough and ties him to a chair, forcing him to watch every single news-reel clip of Batman saving the day. It works.