DES MOINES, Iowa — There’s not even a kernel of hope for Mayor Bill de Blasio in this decidedly unscientific Iowa State Fair poll.

Even after his food- and game-filled Sunday at the fair — where he gave a 20-minute pitch to voters at the famed Political Soapbox — the New York City mayor is registering at 0 percent in the fair’s corn kernel poll.

Attendees at the fair over the age of 18 can place a kernel of corn into a jar to select their top caucus choice. Around 6 p.m. Sunday, after the mayor’s tour around the fairgrounds was wrapping up, The Post counted about 23 kernels in his jar. The end-of-day result showed his percentage at zero.

The fair attracts around 1 million people each year. It kicked off Thursday and extends through Aug. 18. More than 20,000 potential voters cast their kernel ballots thus far.

Topping the corn kernel poll as of Sunday night were former Vice President Joe Biden at 24 percent, South Bend Mayor Pete Buttigieg at 16 percent, Sen. Elizabeth Warren at 15 percent, Sen. Kamala Harris at 11 percent and Sen. Bernie Sanders at 9 percent.

An additional 14 candidates were registering higher than the mayor in the poll. Twenty-four Democrats are currently in the 2020 presidential race.

Sanders was swarmed by reporters and supporters when he showed up to the fair Sunday afternoon, speaking at the Soapbox directly before de Blasio. About a 10th of Sanders’ crowd stuck around to hear Hizzoner.

At an earlier event Sunday in Cedar Rapids, Iowa, just 15 Iowans came to listen to de Blasio speak.

But the mayor gave no inkling he was thinking of dropping out — even if he doesn’t qualify for the third debate.

“I don’t buy into any of those hypothetical questions,” he told The Post Sunday when asked if he would ditch the effort if he didn’t make the September stage. “The idea is to keep building.”