During the Sunday meeting, Zarif elaborated on the condition of the Iran nuclear deal before and after the USA pullout and said Washington broke the multi-lateral agreement and flagrantly violated the UN Security Council Resolution 2231.
The other signees had urged Washington to remain in the deal.
He added: "As the president of the republic has said, we are ready for all option (s)".
Wang Yi underlined that China's stance towards the Iran nuclear deal is completely clear and added "it is natural for Iran to remain in the deal without the U.S. if its interests are guaranteed".
In this photo released by an official website of the office of the Iranian Presidency, President Hassan Rouhani attends a meeting with officials and industrialists, at a petroleum conference in Tehran, Iran, May 8, 2018.
Iran said it would remain committed to the deal without Washington if Tehran achieved its goals - namely being protected from sanctions against key sectors of its economy such as oil - in cooperation with other countries that have signed up to the agreement.
During talks with the Chinese foreign minister, Zarif pointed to good relations between Tehran and Beijing after the JCPOA implementation started in 2016, saying, "We are confident that China will stand by Iran".
Mohammad Javad Zarif will later fly to Moscow and Brussels to consult with the remaining signatories to the 2015 agreement.
While the remaining JCPOA parties are scrambling to save the deal, Israel has played a second fiddle to the United States bid to wreck it.
It reiterated that Iran was preparing to resume "industrial scale" uranium enrichment "without any restrictions" unless Europe provided solid guarantees it could maintain trade ties despite renewed USA sanctions.
Before leaving, Zarif published a government statement on his Twitter page, slamming Trump's "extremist administration" for abandoning "an accord recognised as a victory of diplomacy by the worldwide community".
Tensions between Iran and Israel erupted last week when Iran targeted Israel soldiers in the Golan Heights and Israel struck back, firing dozens of missiles into what it claimed were Iranian posts in Syria.
"Iran's Military Budget is up more than 40 percent since the Obama negotiated Nuclear Deal was reached. just another indicator that it was all a big lie", he wrote. "If the European Union leans towards accommodating the U.S., all the progress we have made since 2015 will be lost", Agence France-Presse said Sunday, citing a Western trade diplomat in Tehran who spoke on condition of anonymity.
"There are many states which are unhappy with Trump's decision to exit the Iran nuclear deal and never support his move".