Click to email this to a friend (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to share on Facebook (Opens in new window)

Jim Carrey will no longer be facing a wrongful death lawsuit in connection with his ex-girlfriend’s suicide, according to reports.

“I can confirm that the case was dismissed,” Carrey’s attorney Ray Boucher told The Post in a statement without elaborating.

A rep for the actor — whose former gal pal Cathriona White died of a drug overdose in 2015 — said “he is extremely grateful to everyone in his life who supported him throughout this challenging episode.”

Carrey, 56, was sued for wrongful death in 2016 by White’s estranged husband, Mark Burton, and her mother, Brigid Sweetman, both of whom accused him of illegally obtaining prescription drugs for her.

They claimed he provided the drugs to White despite knowing she was prone to depression and had previously attempted suicide – and also alleged that he gave her “three STDs without warning her.”

In a countersuit filed in September, Carrey claimed the lawsuits were an attempt to exploit a famous actor and extort him by threatening to go to the media with fake allegations about the STDs.

“I will not tolerate this heartless attempt to exploit me or the woman I loved,” Carrey said in a statement after the lawsuit was filed.

According to the motion in Los Angeles, White altered her friend’s Planned Parenthood files to trick Carrey into believing she did not have STDs before they met, according to People magazine.

Using a 2013 negative test result from her pal, White allegedly backdated the form to 2011 and presented it to Carrey as her own.

Boucher asked the court to force Burton to provide White’s STD test results. Carrey’s legal team concluded that the 2011 document had been forged.

The attorney representing White’s family, Michael J. Avenatti, told The Post in an email: “We can confirm the case was voluntarily dismissed by the plaintiffs.”

He added: “We have no further comment concerning the reasons for or circumstances of the dismissal.”

White, a 30-year-old Irish makeup artist, met Carrey on a film set in 2012 and had been dating on and off. They had separated a few days before she was found dead in September 2015 with a note addressed to Carrey.

After her death, Carrey issued an emotional note saying he’s “deeply saddened by the passing of my sweet Cathriona.

“She was a truly kind and delicate Irish flower, too sensitive for this soil, to whom loving and being loved was all that sparkled,” he added.