A gay Iraqi teen survived having his throat slashed by his dad.

The 17-year-old, identified by local media as Seran M. to protect his identity, was allegedly attacked by his father at their home in the central-western Swiss canton of Bern.

According to the teen, he woke up with his dad standing over him holding a knife against his throat.

The unnamed father then screamed at him “you are gay, you are gay?” before slicing his throat with the blade, according to reports.

Seran, who is of Iraqi descent, told local media: “I have always hidden my homosexuality from my family.”

Despite being aware of the contentious issue in his religion, the teenager said that he still cannot understand how his own father, a devout Muslim, could have done such a thing to him.

Seran believes he survived the ordeal by pure luck after managing to fight off his dad – who according to local media is a devout Muslim – with his hands and feet before jumping over the balcony.

Local media said that neighbours called the emergency services and Seran had to be flown to the University Hospital of Bern due to the severe injuries to his throat, chest, back and arms.

Seran told reporters: “Fortunately, my father missed the carotid artery, but the trachea was badly injured. I had to be put in an induced coma.”

Six months after the shocking attack, the teenager lives alone in a different area of the Swiss canton of Bern, the second largest in the small landlocked country.

However, due to the heavy scarring on his body, he said that he is constantly reminded of the incident.

Seran commented: “I see the injuries in the mirror or when I take selfies and appear in snaps. They will accompany me for the rest of my life.”

The gay teen, who admitted he is undergoing professional help to get over the emotional scars of the attack, said he is now “a freer person than before” the incident.

He added: “My mum is ashamed of what happened. But I hid for long enough, this is the end of that now.”

The gay Muslim said the attack prompted him to share his story on social media and positive reactions quickly flooded his Instagram profile.

One netizen commented: “Some people said I was ill because I was homosexual, saying ‘you are gay, you deserve it’.”

Seran wants to encourage other LGBT people with an Islamic background to seek advice and stand up for themselves, adding: “Get help if you want to come out [as gay].

“We are living in 2019 and my dad wanted me dead because I am attracted to men. I just cannot accept that.”

He also said that it is vital homosexuals are not oppressed by family members.

Following the alleged attack, the local police arrested Seran’s dad although it is currently unclear when he will stand trial.