The online app for N-400 states "Include your current marriage, any marriages before or during your current marriage, marriages in the United States, marriages in other countries, annulled marriages, civil marriages, customary or religious marriages, marriages to other people, and marriages to the same person, whether or not the marriage was registered with a government.
If you were married to the same person more than one time, count each time as a separate marriage."