Reporters Without Borders (RSF) said in a report on Tuesday that Afghanistan was the third deadliest country in 2017 for violence against media workers.

A total of 65 journalists and media workers were killed in 2017, the lowest toll in 14 years, figures released by the RSF reveal.

The non-governmental organization said 60 percent of those killed had been murdered.

It added that 326 people working in the media - including 202 professional journalists - are also being detained.

According to RSF, 26 people "were killed in the course of their work, the collateral victims of a deadly situation such as an air strike, an artillery bombardment, or a suicide bombing."

The report said the remaining 39 "were murdered, and deliberately targeted because their reporting threatened political, economic, or criminal interests."

Overall, RSF said, the decrease in deaths is due to journalists fleeing "countries such as Syria, Yemen and Libya that have become too dangerous." But it also noted "a growing awareness of the need to protect journalists."

RSF stressed that some countries which are not at war have become as dangerous for reporters as war zones, with 46 percent of deaths occurring in such places in 2017, as against 30 percent the previous year.

Syria was the deadliest country for journalists, with 12 killed, one more than in Mexico where many journalists have "either fled abroad or abandoned journalism."

The overall downward trend did not apply to women, as 10 female reporters were killed this year, double the previous year's total.

RSF said many of the female victims were "experienced and determined investigative reporters with an abrasive writing style."

Behind Syria and Mexico, the deadliest countries for reporters were Afghanistan, where nine journalists were killed in 2017, and Iraq where eight perished. With four journalists gunned down, the Philippines was Asia's deadliest country.

RSF said there was a drop of six percent in the number of journalists detained, with nearly half of them held in just five countries, China, Turkey, Syria, Iran and Vietnam.

RSF added that 54 journalists are currently being held hostage by groups such as Islamic State and the Houthis in Yemen.

"Almost three quarters of these hostages come from the ranks of local journalists, who are usually paid little and often have to take enormous risks," RSF said. "The foreign journalists currently held hostage were all kidnapped in Syria but little is known about their present location."