The Brooklyn Half Marathon — the largest in the country — has been canceled as the city battles the coronavirus crisis, Mayor Bill de Blasio said Friday morning.

The mayor named the race, scheduled for May 16, as one of that month’s events that will be scrapped as the city continues to focus on social distancing.

“We love those events, but what do we know about those events?” de Blasio said. “It inherently means large numbers of people crowded together in a pretty small space. That’s New York City, that’s who we are, but guess what — that goes against everything that we need to do to fight back the coronavirus. So we have to be smart. We love those things, we miss them when we don’t have them, but they will be back.”

The race is the largest half-marathon in the United States and was set to feature over 27,000 runners, New York Road Runners said in a statement.

Registered runners will have the option of choosing either a full refund of their entry fee or a guaranteed non-complimentary entry into next year’s race, the organization said.

The runners who decide to enter the 2021 half marathon will also receive a qualifier credit for the event, and for next year’s TCS New York City Marathon.

Runners can also enter the NYRR Virtual Brooklyn Half to run the 13.1-mile race in a “safe and responsible” way.

The mayor also named the May SummerStage events in Central Park, as another example of canceled events.

The mayor said that parades and other city events scheduled for June are unlikely to go on— but a final decision has yet to be made.