Yes there is a comic code, well at least there was until 2010 when the last of the comic book companies abandoned it.
The Comics Code Authority (CCA) was formed in 1954 by the Comics Magazine Association of America as an alternative to government regulation, to allow the comic publishers to self-regulate the content of comic books in the United States. Its code, commonly called "the Comics Code," lasted until the early 21st century. Many have linked the CCA's formation to a series of Senate hearings and the publication of psychiatrist Fredric Wertham's book Seduction of the Innocent.
Members submitted comics to the CCA, which screened them for adherence to its Code, then authorized the use of their seal on the cover if the book was found to be in compliance. At the height of its influence, it was a de facto censor for the U.S. comic book industry.
By the early 2000s, publishers bypassed the CCA and Marvel Comics abandoned it in 2001. By 2010, only three major publishers still adhered to it: DC Comics, Archie Comics, and Bongo Comics. Bongo broke with the CCA in 2010. DC and Archie followed in January 2011, rendering the Code completely defunct today.
- Crimes shall never be presented in such a way as to create sympathy for the criminal, to promote distrust of the forces of law and justice, or to inspire others with a desire to imitate criminals.
- If crime is depicted it shall be as a sordid and unpleasant activity.
- Policemen, judges, government officials, and respected institutions shall never be presented in such a way as to create disrespect for established authority.
- Criminals shall not be presented so as to be rendered glamorous or to occupy a position which creates a desire for emulation.
- In every instance good shall triumph over evil and the criminal punished for his misdeeds.
- Scenes of excessive violence shall be prohibited. Scenes of brutal torture, excessive and unnecessary knife and gunplay, physical agony, gory and gruesome crime shall be eliminated.
- No comic magazine shall use the words "horror" or "terror" in its title.
- All scenes of horror, excessive bloodshed, gory or gruesome crimes, depravity, lust, sadism, masochism shall not be permitted.
- All lurid, unsavory, gruesome illustrations shall be eliminated.
- Inclusion of stories dealing with evil shall be used or shall be published only where the intent is to illustrate a moral issue and in no case shall evil be presented alluringly, nor so as to injure the sensibilities of the reader.
- Scenes dealing with, or instruments associated with walking dead, torture, vampires and vampirism, ghouls, cannibalism, and werewolfism are prohibited.
- Profanity, obscenity, smut, vulgarity, or words or symbols which have acquired undesirable meanings are forbidden.
- Nudity in any form is prohibited, as is indecent or undue exposure.
- Suggestive and salacious illustration or suggestive posture is unacceptable.
- Females shall be drawn realistically without exaggeration of any physical qualities.
- Illicit sex relations are neither to be hinted at nor portrayed. Rape scenes as well as sexual abnormalities are unacceptable.
- Seduction and rape shall never be shown or suggested.
- Sex perversion or any inference to same is strictly forbidden.
- Nudity with meretricious purpose and salacious postures shall not be permitted in the advertising of any product; clothed figures shall never be presented in such a way as to be offensive or contrary to good taste or morals.