Iranian President Hassan Rohani said he had no preference in the upcoming U.S. election, which he described as a choice between "bad and worse."
Democratic nominee Hillary Clinton will face Republican candidate Donald Trump in the November 8 vote.
"At the UN, the leader of a country asked me which of the candidates I preferred. I responded, 'Do I prefer the bad over the worse, or the worse over the bad?'" Rohani said at a speech on October 23 in Arak in central Iran.
Rohani said he was struck by the way in which Clinton and Trump "accuse and insult each other," in reference to the rancorous TV debates between the two candidates.
He said that "morality does not exist" in the United States, "which pretends to have had democracy for 200 years."
Rohani has worked to improve relations with the West, signing a landmark nuclear agreement last year with world powers that led to the lifting of sanctions and raised hopes that Iran would return to the international fold.
Trump has vowed to "tear up" the nuclear deal and Iranian Supreme Leader Ayatollah Ali Khamenei replied that he would happily "burn" the agreement if that was the case.