New York’s top banking cop fined a giant Chinese bank $215 million for violating money-laundering rules that disguised large, suspicious transactions between China and Russia, Yemen, Afghanistan, and the United Arab Emirates — even after a top executive warned against them.

The Department of Financial Services levied the fine against the $2.6 trillion Agricultural Bank of China, one of the communist nation’s largest banks, for falsifying transaction receipts that would show who was paying who over a bank-owned money transferring system.

“The failure of a strong compliance program at the New York Branch of the Agricultural Bank of China created a substantial risk that terrorist groups, parties from sanctioned nations, and other criminals could have used the Bank to support their illicit,” Maria T. Vullo, the head of the state regulator, said in a statement.

The bank’s chief compliance officer in 2014 warned the New York branch boss of such actions, which ultimately led the bank to request guidance from the Federal Reserve Bank of New York on how to handle the potentially illicit transactions.

After receiving a terse letter from the New York Fed, the bank sidelined its compliance boss, making impossible for her to communicate with regulators, it is alleged.

The bank gave all her duties to supervisors.

The compliance boss, Natasha Taft, left the bank in June, 2015, The Post has learned.

Taft, who’s currently the US head of anti-money laundering and corporate compliance at Scotiabank in New York, sued the bank last year for $8 million, claiming that executives routinely commented on her appearance and, in one offensive interaction, tricked her into saying, “I love you,” in Chinese to one of her superiors.

“You remind me of a Russian spy. You’re so pretty and blond,” her manager, Ming Yu, told her, according to the complaint.