An Upper West Side woman who committed suicide nearly crushed a pedestrian who happened to be walking below her 16th floor window when she jumped.

34-year-old Samantha Cohn reportedly jumped from her West 71st Street window yesterday morning—landing only a few feet behind pedestrian Matt ­Kovary.

“I thank God for sparing me because I would be dead, too,” Kovary, who was on his way to the Upper West Side Copy Center, told the Post. “I heard a loud explosion. It was right behind me."

Cohn, who worked as a pilates instructor at Back in the Game Therapy in Rockefeller Center, was a graduate of Juilliard and worked as a professional dancer for more than 10 years.

Cohn had gone missing for a week in April, and was eventually found in the hospital undergoing treatment for heat exhaustion. She wasn't the same after her return, her doorman told the tabloid.

“When she came back [home], she seemed different," he said. "She wasn’t smiling as much.”

If someone you know exhibits warning signs of suicide: do not leave the person alone; remove any firearms, alcohol, drugs or sharp objects that could be used in a suicide attempt; and call the U.S. National Suicide Prevention Lifeline at 800-273-TALK (8255) or take the person to an emergency room or seek help from a medical or mental health professional.