New York state farms generated $5.7 billion dollars in revenue in 2017.

That's according to a report released today by State Comptroller Thomas DiNapoli.

The state boasted more than 33,400 farms, employing more than 55,000 workers in 2017.

While the total number of farms and acreage declined from 2007 to 2017, their overall economic impact increased as net farm income grew by more than 20 percent.

New York ranks as a national leader for a variety of agricultural commodities.

The state leads the nation in the production of yogurt, cottage cheese and sour cream.

Milk is the state’s largest commodity, ranking third for sales nationwide in 2017.

"Agriculture is an essential part of New York's economy," DiNapoli said. "Farms generate billions of dollars in sales, provide jobs and enhance our quality of life. But farmers face challenges including fluctuating milk prices, threats from a changing climate and disrupted trade relations. We need to build on our previous actions to make sure that agriculture can thrive in the Empire State for generations to come."

You can read the full report here.

More From WIBX 950