The number of homeless New Yorkers living in hotel shelters surged over the last two years, despite Mayor Bill de Blasio’s 2017 declaration the costly operations would be closed down by 2023, city figures show.

There are 5,473 households living in hotels across the city in August 2019 — two-thirds of which have children. That’s a dramatic 36% increase from the 4,012 households in August 2017, and roughly flat with August 2018’s 5,445 households.

“It’s really not the place to raise a child,” said Jennifer March, the executive director of Citizens Committee for Children.

Hotels lack kitchens for the parents to cook and spaces for the children to play. Often, families are forced to spend weeks or more living together in cramped rooms designed for a quick stay — not long-term housing.

“We need purpose-built shelters in communities for families with adequate services,” March added.

Hizzoner’s 2017 plan calls for the construction of 90 shelters across the city that are supposed to provide a more family-friendly environment and keep homeless New Yorkers closer to their jobs and schools.

So far, just 25 of the new shelters have been opened and another 23 are in the planning process. Nearly half, 42, have yet to even hit the drawing board.

Officials insist they will still meet the 2023 deadline to open all 90 shelters.

The city is legally obligated to give shelter to every one of the roughly 58,000 homeless New Yorkers and spends more than $2 billion a year fighting the crisis.

“The sooner we open more high-quality borough-based shelters, the sooner we can phase out these stop-gap measure once and for all,” said Department of Homeless Services’ spokesman Isaac McGinn.

However, the effort has encountered fierce resistance from many middle class and wealthy neighborhoods slated to receive homeless shelters for the first time.

Residents of Manhattan’s “Billionaire’s Row” have fought efforts to transform the old Park Savoy Hotel into a shelter in the courts, claiming the building is a fire trap.

A Manhattan Supreme Court judge signed off on the building in April, but the locals appealed. A spokesman, Michael Fisher, who lives nearby, said their arguments will be heard in the fall.

Across the East River, residents of Brooklyn’s Park Slope neighborhood are fiercely debating plans to build two homeless shelters that would serve families in need, including single mothers.

More than 1,400 people signed a petition opposing the plan to convert two buildings along Fourth Avenue into shelter space, while nearly 3,300 people backed a counter-petition supporting the project.

“I think it’s an egregious abuse of funds to help homeless people,” said Dan Guido, a Park Slope resident who would live near the two shelters and vocally opposes the project.

“This is not permanent housing,” he added. “People need a permanent place to live.”

Homeless advocates quickly shot back.

“You can have a perfect plan and still someone is going to say, ‘OK, not here’,” said Catherine Trapani, the executive director of Homeless Services United. “It’s faux concern.”