In one album of De Rode Ridder ("The Red Knight", a Belgian comic), a villain tricks the hero into swearing an oath not to use his sword against him. The Red Knight, being The Fettered, is honor-bound to keep it, even when the villain eventually attacks. He circumvents it by giving his sword to his female sidekick, who is not bound by the oath and still carries a grudge against the villain for a Kick the Dog moment earlier in the album. The results are... messy.
Subverted in an issue of Spider-Man; Spidey is riding on top of a car as it drives through New York (with the driver's consent). A cop pulls up next to them.
Spider-Man: Bet you a buck this isn't covered by traffic regulations. (Next panel, Spidey is holding a citation) Spider-Man: Huh. It is. Who knew?
This is subverted in a Powerpuff Girls comic. When Mojo Jojo tells Fuzzy Lumpkins that a high-tech weapon that landed on Fuzzy's yard is his, Fuzzy says, "I don't see your name on it!" (The same thing he said to the Girls when they tried to get it.) Mojo responds by turning it around; his name is on it. (Fuzzy decides to stop using loopholes and just threaten him at that point.)
A Desperate Dan comic in The Dandy has him deliver a grand piano to a friend, so he oils the castors, gives it a push and "drives" it down a motorway. On passing a police car, one of the policemen comments that there is nothing in the rulebook about a piano needing an M.O.T.
In Judge Dredd, the most popular Mayor of Mega City One was Dave the Orangutan — put forward by the Judges in an apparent attempt to discredit democracy since there was no specific rule against it. He was so popular that after he was assassinated the post was abolished for ten years due to the public feeling that no one could replace him.
Invoked by Scrooge McDuck in Don Rosa's story "The Guardians Of The Lost Library". Unfortunately for him, it doesn't work.
Referee: Are you nuts? You can't conduct an archeological excavation in the middle of a soccer championship! Scrooge: Oh, so? Show me that rule in the rulebook! Assistant: Gosh, he's right! It is allowed by the "King Tut" rule of 1922! Referee: No, the rule was voided after it resulted in a curse on whosoever dared enter the locker room!
In Green Lantern, this is used by the rulemakers themselves. The Guardians sent a Green Lantern to a particularly nasty planet and he is almost immediately killed, so the Green Lantern sends his ring out to find a worthy successor. Enter Jack T. Chance. After "taking care" of a prominent threat on the planet, he is called back to Oa by the Guardians for discipline, but Jack says that he did what he had to do and would rather quit than be bound by the rules of the Guardians. The Guardians, lacking a suitable replacement for Jack, stated that a Green Lantern was not required to be nice and gave him back the ring with provisions that it could not be used off of the planet Jack was stationed. The reason the Guardians were so annoyed with Chance was because of his own Loophole Abuse. Green Lantern Rings couldn't be used to make lethal attacks, so once Jack discovered this, he would use his ring to battle foes to the point of exhaustion - and then shoot them.
Used for laughs in the Young JusticeNo Man's Land special. Robin is depressed about being banned from helping Batman. Superboy points out that Bats never said anything about YJ steering clear of Gotham. So he and Impulse go on a ROAD TRIP!
Lex Luthor once made a deal with Mxyzptlk where Mxy would provide Luthor with the means to render Superman powerless. Part of the deal was that Luthor must never tell Superman about Mxy's role in this. Not enjoying the idea of being unable to let Superman know how he defeated him, Luthor tried to circumvent that part of the deal by telling someone who would tell Superman about the deal. Luthor then told Clark Kent.
In "Marriage Vows" in The Haunt of Fear #15 the heroine wanted to marry one Prince Dashing but was hampered by the fact that her father had promised her hand in marriage to the ruler of a neighboring kingdom in exchange for a big fat loan. Let's just say that she found a way to take that promise very literally...
In Sgt. Rock: A Peace on Earth, Sgt. Rock and a German soldier drink, smoke, and chat casually on Christmas Eve, 1944. Then the German warns him that he was ordered to shoot on sight, "...and I always follow orders." "Same here," says Rock, and they both shoot... into the air.
Deadpool once made a bet that he could get Iron Man drunk. He then proceeded to steal Tony Stark's suit and get drunk while wearing it.
In New Mutants, Magik, being who she is, is told by her teammates not to kill someone... She proceeds to send said person to Hell.
Contrary to his usual portrayal, the Devil in Castle Waiting is explicitly stated to hate this trope, and the evil witch from the comic's version of Sleeping Beauty making use of this (by technically cursing the princess as a young woman rather than as the baby she is at the time the curse is made) is one of several reasons she ends up on the wrong side of Even Evil Has Standards.
In "Vampirella and the Sultana's Revenge" the eponymous Sultana had the Sultan promise to never harm her. So when he catches her being unfaithful, he instead has her force-fed, ruining the slimness and beauty she took pride in.
Archie Comics' Sonic the Hedgehog: After being hacked by A.D.A.M. and forced to help him in his plans, Jules is subsequently ordered to self-destruct after doing so. Jules instead exploits the fact that A.D.A.M. didn't actually specify when to self-destruct to hold it off until Sonic takes A.D.A.M. down.
Sonic the Comic: When Robotnik hijacks the Omni-Viewer and forces him to send Sonic and his friends into the future to enable him to Take Over the World without interference, Omni only sends them six months into the future, thus obeying Robotnik's orders while putting Sonic in a position to form La Résistance and set things right.
In Batman Eternal, the acting Commissioner specifically tells the GCPD to not arrest criminals tied up by Batman and to focus more on arresting him. Harvey Bullock decides that the nutcases can just go rot until they can free themselves.
Loki: Agent of Asgard: a time-travelling Loki approaches Andavi, hoping to take his hoard for his own reasons, but Andavi will not give it up, and Andavi cannot be caught by hook or net, and no spell can hold him. So what does the trickster god do?
Narration: "And Loki reached into his carrying bag... and brought forth an M20 recoilless rocket launcher. For Andavi could only guard against what he could think of. And while wily he was in the ways of magic... he was somewhat unimaginative."