Actor Ed Norton said his heart aches “in solidarity” with the family of the firefighter killed in the Harlem building where his latest movie is being filmed.

“Our deepest condolences to the family of Michael R. Davidson,” Norton and his producers said early Friday in a statement about the 37-year-old father of four, a 15-year veteran of the FDNY.

The blaze erupted as the film crew was ending its workday late Thursday when they noticed smoke blowing into the set and other parts of the building from the basement of 773 St. Nicholas Ave., Norton said.

“As soon as we noticed smoke coming up into our set, our crew immediately alerted the fire department and began alerting residents of the building even as we evacuated our cast and crew,” they said in the statement, according to CBS News.

“To our great sorrow, we now know that a NYC firefighter lost his life battling the blaze that grew, and our hearts ache in solidarity with his family. New York City firefighters truly are the bravest in the world,” the statement continues.

“We watched firsthand with astonishment as they charged into the smoke to make sure all were safely out and then fought to contain the blaze and prevent it from spreading, putting their lives on the line as they do every day.”

The film, based on the Jonathan Lethem novel “Motherless Brooklyn,” stars Bruce Willis, Willem Dafoe and Alec Baldwin. Norton also is listed as a screenwriter and actor in the flick, which is due for release next year.