If elected mayor, Joe Lhota promises to dump the dump.

Lhota, frontrunner in the three-way Republican primary, is the first member of the GOP field to sign a pledge to block a controversial marine transfer station proposed on E. 91st St. in Manhattan.

“It’s very simple: the dump will not open under my administration,” Lhota said in a statement after inking a campaign promise with thePledge2Protect advocacy group, which has been harshly critical of the Democratic frontrunner, City Council Speaker Chris Quinn.

“As deputy mayor, I worked to close it in the past and we successfully negotiated contracts to ship the garbage to New Jersey, which is less expensive and does not put children’s safety and health at risk. It’s a no-brainer,” said Lhota, who served as a second-in-command to Rudy Giuliani.

Lhota, coincidentally, lives in Brooklyn (as does Democratic mayoral hopeful Sal Albanese, a former councilman who previously signed the pledge). His Republican primary rivals, George McDonald and John Catsimatidis, both live on the East Side, where the transfer station is to be located.

At a March forum, all three GOP candidates spoke fervently against firing up the station.

Quinn took heat from the audience at that same event, held at the 92Y, but didn’t back down from her contention that spreading such unpopular facilities around the city — rather than clustering them in low-income areas — is a way to combat “environmental racism.”

Pledge2Protect’s Kelly Nimmo-Guenther thanked Lhota on “behalf of the thousands of residents and children whose health and safety are being put at risk” by the station.

“Major waste facilities do not belong in any residential neighborhood anywhere in the city, let alone one that directly abuts a playground, playing field and recreational facility,” she said. “Our next mayor cannot allow this dump to open.”

Read more on NY Daily News.