The song "Class" in Chicago, sung by Velma and the Matron, decries the degradation of society's values while being chock full of swearing, insults, and references to bodily functions. The characters singing it are a murderess and a corrupt prison warden no less.
And they follow up the song with reading a fellow inmates private diary.
In Trial By Jury, the Usher instructs the Jury on the "stern judicial frame of mind" necessary for conducting an impartial trial:
Oh, listen to the plaintiff's case: Observe the features of her face - The broken-hearted bride. Condole with her distress of mind: From bias free of every kind This trial must be tried! ... And when amid the plaintiff's shrieks The ruffianly defendant speaks Upon the other side; What he may say you needn't mind- From bias free of every kind This trial must be tried!
For that matter, the Learned Judge declares himself "ready to try this breach of promise of marriage" immediately after gloating that he owed his successful career to committing a breach of promise of marriage.
If you give me your attention, I will tell you what I am: I'm a genuine philanthropist, all other kinds are sham. Each little fault of temper and each social defect In my erring fellow-creatures, I endeavour to correct. To all their little weaknesses I open people's eyes; And little plans to snub the self-sufficient I devise; I love my fellow creatures, I do all the good I can ; Yet ev'rybody says I'm such a disagreeable man! And I can't think why!
The bigoted Senator Rawkins in Finians Rainbow grumbles that his family has had trouble with immigrants ever since they came to America, and also says that he's been so busy defending the United States Constitution that he hasn't the time to read it.
Shakespeare practically owns this trope, as it accounts for most of the ironic humor in his plays.
The tragedy Hamlet gives us the famous line "Brevity is the soul of wit" which is spoken by Polonius... as he rambles on and on and on just to hear himself talk.
In fact, Polonius's entire speech is an example of this trope, with virtually every bit of fatherly advice being something he himself fails at. Hamlet calls him on this multiple times in his bizarre doubletalk.
In The Merchant of Venice, this is a running gag, with Launcelot Gobbo saying things like "To be brief", "Tears exhibit my tongue", and "I have ne'er a tongue in my head"...only to go off on an extended ramble each time. Solanio is also guilty, following the common Shakespeare gag of failing to get to the point:
Solanio: But it is true, without any slips of prolixity, or crossing the plain highway of talk, that the good Antonio, the honest Antonio—oh, that I had a word good enough to keep his name company...
In Romeo and Juliet, when Romeo offers the Nurse money for being a go-between, her line is "Nay, sir; not a penny." Many stagings have her take the proffered money as she says this.
Similarly to the examples under Hamlet and The Merchant of Venice, Friar Lawrence says that he will be brief in the play's final scene, before saying one of the play's longer monologues to recap most of what happened over the course of the play.
In Much Ado About Nothing, Benedick goes on a lengthy rant about how much he utterly hates men who swear they will never marry and then go get engaged. It is the most despicable thing known to man, will he never see a bachelor of three-score again? Women are the most annoying things on the planet and-WHAT DO YOU MEAN BEATRICE IS IN LOVE WITH ME? I SHALL BEGIN COURTING HER AT ONCE.
This is the trope on which run most of Molière's plays, so much so that "Tartuffe" has become another word for "hypocrite" in French.
Knickerbocker Holiday makes a Running Gag out of the corruption and hypocrisy of politicians, but Stuyvesant in his New Era Speech is particularly blatant about it. He denounces the council as the most "preposterous, muddle-headed, asinine, crooked, double-dealing, venal, vicious, fat-headed group of men" ever in charge of a country, then immediately pauses to politely shake hands with one council member. At the end, he tells the people of New Amsterdam they will be consulted in all future political decisions, then dismisses them to talk with the council.
In Pygmalion, Henry Higgins, after bein told by his maid not to swear in front of Eliza, retorts:
I never swear. I detest this habit. What the devil do you mean?
Lampshaded in the 2012 all-female Chalmersspex, a rich businessman's daughter, Cristal Hilton, wants to invest in an invention, and can make the choice between the cinematoscope (made by the Brothers Lumiére) or the kinetoscope (Thomas Edison). (To all the historians currently grinding their teeth — remember, artistic license and Rule of Funny.) Since her sister is on good terms with the Lumiére brothers, she invests in the cinematoscope. Then, when she and her sister wind up on bad terms, she shifts sides to the kinetoscope out of spite — then, when they make up again, she promises to invest in the cinematoscope.
Cristal: Oh, and, yeah, Tommy-boy...I just wanted to say I'm investing in the cinematoscope after all.
Cristal: No hard feelings, right?
Edison: Ms. Hilton, I must protest—to shift sides like that is unethical, it's immoral, it's very, very dishonest!
Cristal: Yeah, but, like—I shifted to your side before, didn't I?
Edison: That was different! That was to my advantage!
In the second act of Waiting for Godot, Vladimir tells Estragon that they should just stop talking and act...and spends the next page repeating this instruction.