Comcast Corp. said Tuesday that it will disclose on its website political contributions to federal, state and local candidates, political parties, political committees and tax-exempt organizations in an agreement with New York State Comptroller Thomas P. DiNapoli.

Comcast agreed after DiNapoli filed a shareholder resolution as a trustee of the New York State Common Retirement Fund.

Comcast spokesman John Demming said Comcast's transparency of political contributions will now be "best in class."

The disclosures will begin with 2014 political contributions. - Bob Fernandez