The president of the European Council has said the only alternative to the EU is "political chaos" and labelled Boris Johnson's recent comments "absurd".
Donald Tusk said he was speaking out to defend his "vision of Europe".
He said he could not "remain silent" after Mr Johnson compared the EU's aims with Hitler's, and said the ex-London mayor had shown "political amnesia".
Leave campaigners said EU chiefs joining the UK's referendum debate would help their cause.
The UK votes on 23 June on whether to remain in the EU or to leave.
Mr Tusk chose a joint press conference with the Danish prime minister to make his intervention, saying: "To defend does not mean to lecture anyone.
"The British citizens will make this decision themselves and they do not need any whisperers, especially from Brussels," he said.
"I understand this very well. But when I hear the EU being compared to the plans and projects of Adolf Hitler I cannot remain silent. Such absurd arguments should be completely ignored if they hadn't been formulated by one of the most influential politicians of the ruling party."
Mr Tusk said the EU remained a "firewall" against conflict between European countries, saying the "banal" truth was that "the only alternative for the Union is political chaos, the return to national egoisms, and in consequence, the triumph of anti-democratic tendencies, which can lead to history repeating itself".
Mr Johnson, one of the most high-profile figures in the Leave campaign, sparked criticism when he said both Hitler and Napoleon had failed at unification of Europe and the EU was "an attempt to do this by different methods".
He has stood by his comments, describing the ensuing row as an "artificial media twit storm", and fellow Leave campaigners have defended him.
Commons Leader Chris Grayling said: "I think what Boris said at the weekend was a view from a historian.
"What we had this morning was a contribution to the debate from the European institutions.
"Frankly I think the more the European institutions get involved in the debate about what the future of Britain is in the EU the more likely we are to get a leave vote."