She crossed the bikini line.

A deranged female stalker burst into Hugh Jackman’s West Village gym and threw an electric razor filled with her pubic hair at him during his morning workout yesterday, police sources told The Post.

She was screaming “I love you!” as a staffer dragged her away from the star.

The actor, who plays Wolverine in the “X-Men” movies, was exercising at Gotham Gym on Washington Street at about 8 a.m. when Kathleen Thurston, 47, bushwhacked him.

The blond stalker, wearing khaki pants and a blue hoodie, was hysterically sobbing as she slipped past the check-in desk at the tiny gym and made a beeline for the actor, said Mike Castle, 35, a Gotham trainer.

“She was crying,” said Castle, who was in the facility’s boxing ring. “I physically removed her from the place, then I called the cops.”

Thurston shouted her desperate declaration of love for Jackman.

Then she reached into her waistband and launched the dirty razor at her obsession.

Jackman thought the unhinged woman was grabbing for a gun or a knife, said one police source.

He backed away as soon as she made a move for her nether regions.

Cops caught up with the woman a few blocks away at West 14th Street and Eighth Avenue, where she was arrested and hauled to the 6th Precinct station house.

The NYPD Crime Scene Unit recovered the weapon and had to pick the hairs out of it to match them with her DNA, the source added.

Thurston, whose listed address is a Harlem shelter for the mentally ill, was charged with stalking and taken to Manhattan Criminal Court, where she was awaiting arraignment last night.

It wasn’t Thurston’s first time stalking the 44-year-old Australian hunk, the sources said. She once showed up at Jackman’s home in the Village, where he lives with actress wife Deborra-Lee Furness.

Jackman told cops he also has seen her outside 7-year-old daughter Ava’s elementary school in Manhattan.

But police say Thurston has no prior criminal history, and Jackman didn’t have a restraining order against her.

Gotham Gym staffer David Rivera, 20, said, “You wouldn’t expect someone coming in here and looking to come after you like that.

“To just have someone invade his personal space like that is not OK.”

Jackman, a gym rat, was photographed pumping iron earlier this month — likely as he prepped for “X-Men: Days of Future Past.”