Sunlight is the best disinfectant.

The number of complaints filed to the MTA’s new inspector general has soared since the office began publicly releasing the results of its investigations earlier this summer, IG Carolyn Pokorny said Thursday.

“Our complaint numbers are shooting through the roof,” Pokorny told reporters after speaking to the MTA’s Permanent Citizens Advisory Council.

“It becomes self-generating. We get out our reports, the word gets out to the public that we’re available to them, we get more complaints, and that feeds us more ideas for future reports.”

Year-to-date, the office has received a whopping 875 complaints — a 30 percent jump from the same period in 2018, according to a spokesperson for the IG.

The biggest increase came in July after the IG’s office published dozens of reports, highlighting a Long Island Rail Road worker hanging out at home while on the clock and other wrongdoing by MTA employees. The IG received a record-setting 175 complaints that month, nearly four times the 45 received the previous July.

June and August also saw marked increases — about double the number of complaints as in 2018.

Pokorny has mounted an all-out war on MTA malfeasance since taking office at the beginning of June, putting out report after report documenting everything from faulty escalators and illicit moonlighting to the agency’s storm drainage efforts.

While her reports have produced a steady stream of negative headlines for MTA leadership, Pokorny told The Post transit officials have welcomed the increased transparency.

“The benefit for the agency as a whole is, number one, they have to be open with the public as to what their reaction is to our recommendations,” she said.

“My perspective has to be what’s in the best interests of taxpayers and commuters, not what’s in the best interests of the MTA.”