The G.I. Joe comics represent the longest running continuity for a comic based on a toy line property. The original run was started by Marvel Comics in 1982 and ended in 1994. There was a break of about 6 years before the comics rights was picked up again by another company, Devil's Due Publishing. When the new comics were published for the second time, Devil's Due utilized the same continuity that was started by Marvel Comics. After purchasing away the rights to the comics stories by Marvel, Hasbro has also begun their contributions to this continuity. This was later followed by IDW, which held the license for many years and brought on Larry Hama to continue his story, and Skybound, that currently has the license and also has Larry Hama writing RAH.
Special Missions - a spin-off from the main comics title by Marvel Comics.
There are also Transformers-related events that took place within this continuity, but they have been largely ignored or completely disregarded. These include:
In 2008, as part of Generation 3, Hasbro released several Comic Packs that featured new stories by Larry Hama. The stories are set in the Marvel era and work in and around the stories there.
In 2010, IDW Publishing invited Larry Hama to pick up where he left off with G.I. Joe #155, allowing him to tell the continuing story of G.I. Joe the way he wants to.