Khamenei says Iran ready to abandon nuclear deal if needed
"The JCPOA (nuclear deal) is not the objective, it is only a means," he said in a meeting with the cabinet, according to his website.
"Naturally, if we reach the conclusion that it is no longer maintaining our national interests, we will put it aside."
Khamenei said talks should continue with Europe, which is trying to salvage the 2015 agreement despite the withdrawal of the United States.
But he said the Iranian government "must not pin hope on the Europeans for issues such as the JCPOA or the economy".
"We must examine their promises with scepticism," he added.
Khamenei reiterated that Iran would not engage in any negotiations with the administration of US President Donald Trump, despite his offer of unconditional talks.
"(The Americans) want to say they can bring anyone, even the Islamic republic, to the negotiating table.
"But as I have previously said in detail, no negotiations with them will take place," Khamenei said.