Lampshade Hanging/Theater

Lampshades hung in theater. - "Fabian: If this were play'd upon a stage now, I could condemn it as an improbable fiction."
 * Older Than Feudalism: Terence does this twice in his The Girl from Andros. In ancient Roman theater, the stage was always an outside (a street, a square), so if you wanted to tell the audience something happened in-doors, the people on the stage (outside) would have to comment on something happening inside the house, sometimes by speaking to people unseen, supposedly still inside the house. In addition, in many comedies pregnant women would give birth very quickly and very easily (sorta like Instant Birth, Just Add Water). In the play, the protagonist Simo comments on both these things, citing them as proof he is being scammed to believe Glycerium is pregnent with his grandson.
 * Shakespeare uses this often
 * In Twelfth Night:

Ruth: All baronets are bad; but was he worse than other baronets? "Margaret: They are all mad -- quite mad!
 * Most of the Sweet Polly Olivers tend to lampshade the fact that in those times that a boy is playing a female character that is disguising herself as a boy.
 * Hamlet's "Speak the speech I pray you" monologue can be seen as a combination of putting a shade on the common Theater techniques of the era, and a Take That against the overuse of it.
 * The prologue of Henry V, quite possibly the purest example of this trope, where the Chorus calls to attention the fact that a stage could never represent a battlefield, then tries to inspire the audiences imagination so that it doesn't matter anyway.
 * This gets positively recursive in the 1989 movie version as the Chorus speaks the prologue on a classical Shakespearean stage, but then throws the on-set doors open; the audience is then led into the movie proper, a period-accurate reproduction complete with epic battle sequences.
 * The entire closing monologue to As You Like It, where Shakespeare comments on the low quality of the play, the oddness of the main female character speaking the epilogue, the idea that a good epilogue might improve a play, and that the "woman" saying the lines was played by a man, making "her" part in the play that of a man playing a woman playing a man. Slightly earlier the characters also comment on the deus ex machina (which is even more convoluted than a normal example) which wrapped everything up in just a couple pages with a brand new character coming out of nowhere.
 * The fact that the entire thing's been a play is also commented upon in the epilogues for both A Midsummer's Night's Dream and The Tempest. The former also has quite a few lampshades hung surrounding the acting of the players at the end.
 * In Spamalot, the Broadway adaptation of Monty Python and The Holy Grail, Sir Galahad and The Lady of the Lake sing "The Song That Goes Like This." Every phrase lampshades tropes of show tunes, love songs in particular.
 * Furthermore, Sir Robin, when discussing the glamour and beauty of Broadway, dashes King Arthur's dreams of being in a Broadway musical by explaining "You won't succeed on Broadway if you don't have any Jews!" This, being England in the middle of the Crusades, is not likely -- what Jew will come out to a heavily armed Christian? The Lady of the Lake resolves this quandary for Arthur by telling him, . Finally, addressing one of many anachronisms,
 * The great sorceror Tim. Stage direction calls for the strings holding him up to be visible from the back of the theater. King Arthur loudly states his amazement that Tim is flying without any method of support whatsoever.
 * The Phantom of the Opera: "You'd never get away / With all this in a play / But if it's loudly sung / And in a foreign tongue / It's just the sort of story / Audiences adore / In fact, a perfect opera!"
 * Which was both pointed out in-character and basically became a plot point in Terry Pratchett's Discworld novel Maskerade that gave its own spin to the The Phantom of the Opera plot by subverting, double subverting, deconstructing and parodying the hell out of it.
 * If this trope didn't exist, the musical Urinetown would be about two seconds long.
 * A Funny Thing Happened on the Way to the Forum consists almost entirely of lampshade hangings. Ever heard the song 'Comedy Tonight'?
 * The play (and later film) Arsenic and Old Lace has a classic moment when one character, who is allegedly an intelligent and erudite theater critic, starts talking about how a character in a play who is supposed to be intelligent does something really stupid. You see, in that play, the allegedly smart guy was in a house with a bunch of murderers, and he doesn't try to leave. He doesn't even have the sense to be scared! Instead, he sits down in a chair and stops paying attention, while one of the murderers sneaks up behind him and ties him up with the curtain cord! Meanwhile, the theater critic, who also happens to be in a house full of murderers and not at all concerned about this, sits down in a chair, and one of the murderers sneaks up behind him and ties him up with, you guessed it, the curtain cord!
 * The first act finale of Gilbert and Sullivan's Iolanthe has the chorus point out the use of "a Greek remark, a Latin word, and one that's French."
 * Used by Gilbert and Sullivan on many instances, namely in Ruddigore:
 * And between Rose Maybud and Mad Margaret:

Rose: What makes you think that?

Margaret: Hush! They sing choruses in public. That's mad enough, I think."

""One day it gets better/One day it makes sense/One day I'll stop talking in the friggin' future tense""
 * Evan does this during the title song in 13

"Gaston: Who has brains like Gaston?
 * Gaston and Le Fou do this in the stage musical of Beauty and the Beast

Le Fou: Entertains like Gaston?

Gaston and Le Fou: Who can make up these endless refrains like Gaston?"