Marriage was released alongside Valentine's Day 2014.
Your spouse is officially called your "soul mate" (not to confuse with soulmate maps).
On Transformice's Trello page, a plan to improve the marriage interfaces was added on 14 April 2015.
The marriage option does not have to mean the two people are dating in real life.
To marry someone, you just have to enter the name of a user in the search box in the friend list (bottom left button with heart logo) and then click the marry button.
You could also press on someone's username and then press "Marriage proposal" from there.
To divorce someone, click on their username from the friend list and select "divorce." The player will remain in the friend list.
It takes one hour to be able to marry again after divorcing someone.