A major donor to Mayor de Blasio’s since-shuttered nonprofit is suing to block a state probe of its $60,000 in contributions.

Broadway Stages claims that the Joint Commission on Public Ethics exceeded its authority by slapping the TV and film production company with an Aug. 19 subpoena.

The subpoena seeks copies of “all communications” between Broadway Stages and de Blasio, his defunct Campaign for One New York charity and lobbyist James Capalino, according to the lawsuit filed in state Supreme Court in Albany.

Broadway Stages — whose CEO and president, Gina Argento, raised more than $110,000 for de Blasio’s 2013 campaign and transition, making her Hizzoner’s No. 2 bundler — claims that state law allows JCOPE to investigate only officials who receive gifts, and not those who give them.

Its lawsuit, filed Thursday, also denies that the company donated to CONY “at the direction of the Mayor (or any other public official).”

City records show that Capalino formerly lobbied City Hall on behalf of Broadway Stages, whose clients include such popular shot-in-the-city TV shows as “Ray Donovan,” “Billions” and “Mr. Robot.”

JCOPE declined to comment.