Does it require marriage?

When this community was announced in the Community Showcase, @PurpleGoop said, "cheating is a symptom of an illness called marriage. such poetry." It was a nice turn of phrase, but is it true? Is it only cheating if you are married?