U.S. Special Presidential Envoy for Climate John Kerry was blasted on social media over the weekend by critics who accused him of trying to destroy the agriculture industry in order to achieve "net zero" emissions.

"Agriculture contributes about 33% of all the emissions of the world, depending a little bit on how you count it, but it’s anywhere from 26 to 33, and we can’t get to net zero, we don’t get this job done unless agriculture is front and center as part of the solution," Kerry told a climate change summit in May.

"You just can’t continue to both warm the planet while also expecting to feed it," Kerry added. "It doesn’t work. So, we have to reduce emissions from the food system."

That clip was widely shared over the weekend after being posted by the Twitter account Wide Awake Media, which led to a new wave of criticism against the Biden administration's top climate envoy. Republican Rep. Mary Miller of Illinois called them an "attack on American farmers."

JOHN KERRY SCORCHED FOR MISLEADING ON PRIVATE JET USE: 'DEMOCRATS' STANDARD OF HYPOCRISY'

John Kerry, US special presidential envoy for climate, speaks during a Bloomberg Television interview in Hanoi, Vietnam, on Monday, Sept. 5, 2022. Kerry is "hopeful" that climate talks with China will resume after discussions stalled following House Speaker Nancy Pelosi's visit to Taiwan last month. Photographer: Linh Pham/Bloomberg via Getty Images

John Kerry, the U.S. special presidential envoy for climate, speaks during a Bloomberg Television interview in Hanoi, Vietnam. (Linh Pham / Bloomberg via Getty Images / File)

"Nothing to see here," Republican Sen. Ted Cruz tweeted. "Just hypocritical Dems wanting to bankrupt every farmer in America…."

"These people are sick bastards," GOP Rep. Chip Roy of Texas tweeted. "I introduced legislation to defund this clown. But that’s just for show unless Republicans as a whole decide to fight instead of laying down while the very freedom they campaign on is under assault."

WHITE HOUSE SILENT AFTER JOHN KERRY LAMENTS UKRAINE WAR'S CARBON EMISSIONS

U.S. Special Presidential Envoy for Climate John Kerry meets with Chinese officials at the Great Hall of the People in Beijing on July 18, 2023.

U.S. Special Presidential Envoy for Climate John Kerry meets with Chinese officials at the Great Hall of the People in Beijing on July 18, 2023. (Florence Lo / Pool / AFP via Getty Images)

In May, two dozen Republicans signed a letter in which they called on President Biden and Agriculture Secretary Tom Vilsack to disavow Kerry's comments, calling them a "blatant slap in the face to the hardworking individuals that spend their lives sustainably producing our world’s food, fuel, and fiber."

Overall, the global food system – which includes land-use change, actual agricultural production, packaging and waste management – generates about 18 billion tons of carbon dioxide per year, the equivalent of 34% of total worldwide emissions, according to a March 2021 study published in the Nature Food journal.

In the U.S., though, agriculture generates about 10% of total greenhouse gas emissions, federal data showed.

John Kerry

U.S. Special Presidential Envoy for Climate John Kerry testifies during a hearing before the House Foreign Affairs Oversight and Accountability Subcommittee in Washington, D.C., on July 13, 2023.

CLICK HERE FOR THE FOX NEWS APP

A State Department spokesperson responded to the criticism by saying Kerry is hoping to work with farmers to reduce their climate emissions.

"Secretary Kerry believes that addressing the climate crisis will require collaborating and partnering closely with America’s farmers – who are some of the most productive and efficient in the world and who are already facing the impacts of worsening extreme weather – by investing in technical and financial assistance, deploying innovative technologies, and expanding the reach of other tools that will help boost their resilience to climate impacts while reducing greenhouse gas pollution," the spokesperson said in a statement.

"During his remarks at the AIM for Climate summit, Secretary Kerry celebrated the progress made in supercharging global investments in climate-smart agricultural innovation, including unlocking $13 billion in funds to empower farmers and ranchers as they address the rising risks and costs posed by the climate crisis," the spokesperson wrote.

Fox News' Thomas Catenacci contributed to this report.