President Donald Trump has claimed that were it not for him, Hong Kong 'would have been obliterated in 14 minutes' by Chinese troops.

Trump said today that Chinese President Xi Jinping refrained from sending in the military against pro-democracy demonstrators in the semi-autonomous city only because he asked him to.

'If it weren't for me, Hong Kong would have been obliterated in 14 minutes,' Trump said in an interview with Fox News.

Xi 'has a million soldiers standing outside of Hong Kong, are not going only because I asked him: 'Please don't do that. You will be making a big mistake. It will have a tremendous negative impact on the trade deal.''

US President Donald Trump (pictured yesterday) claimed he urged his Chinese counterpart Xi Jinping not to send troops to Hong Kong to quash the city's anti-government protests

Speaking in an interview with Fox News, Trump said: 'If it weren't for me, Hong Kong would have been obliterated in 14 minutes.' Pictured, a protester is struck in the head as he is being detained by police during a demonstration in Central, Hong Kong, on November 13

Hong Kong has been rocked by anti-government protests for more than five months. Pictured, police detain a protester at the Hong Kong Polytechnic University in Hong Kong on Monday

Protesters have been also demanding an independent inquiry into what they view as excessive violence from the police during clashes. Pictured, a riot police officer scuffles with an anti-government protester during a rally in the Central District in Hong Kong on November 13

Some 5,000 people have been detained so far in connection to the unrest. Pictured, riot police detain an anti-government protester at shopping mall in Tai Po, Hong Kong, on November 3

The president was first asked about a potential trade deal with China, where he once again sounded sanguine but reported no concrete progress. Then, he fielded a question with pro-democracy demonstrators.

'That is complicating factor, no question about it,' Trump responded, speaking of Hong Kong.

He said they are 'not going only because I asked him, 'Please don't do that. You will be making a big mistake. It will have a tremendous negative impact on the trade deal. He wants to make a trade deal,' he said.

Trump's telling of his private conversation with Xi comes in contrast to his public record, where human rights activists have chided him for not doing more to speak up for Hong Kong amid protests.

Trump also indicated he may veto a pro-democracy resolution that passed the House this week 417 to one. It passed the Senate unanimously, and would allow for sanctions on Chinese or Hong Kong officials who carry out human rights abuses.

Trump was asked about pressure to veto the legislation, presumably from the Chinese leadership.

'We have to stand with Hong Kong, but I'm also standing with President Xi, he's a friend of mine. He's an incredible guy, but we have to stand … I'd like to see them work it out, okay?' Trump told Fox.

'I stand with freedom, I stand with all of the things that I want to do, but we are also in the process of making one of the largest trade deals in history. And if we could do that, it would be great,' Trump said.

China also has its own reasons for using restraint, even without prodding. Amid an an economic slowdown and a burgeoning population that has experienced decades of growth, Chinese leaders must calibrate how a violent crackdown would play in the mainland amid new technology and avenues of information-sharing.

Beijing has conducted multiple large-scale anti-riot military drills in Shenzhen, a mainland city that borders Hong Kong.

Footage and satellite pictures emerged in mid-August showed that China had mobilised military trucks into a sports stadium looking out to Shenzhen Bay, ready to quash the unrest.

Chinese military then declared it would only take them 10 minutes to hit the financial hub.

Soldiers from the PLA swear their unwavering loyalty to Beijing before heading to Hong Kong

Armored personnel carriers of China's People's Liberation Army pass through the Huanggang Port border between Chinese mainland and Hong Kong in the wee hours of August 29

Trump said that Xi has 'got a million soldiers standing outside of Hong Kong that aren't going in only because I asked him, 'Please don't do that, it's going to make a tremendous negative impact on the trade deal.'' The two leaders are pictured during a meeting in Japan on June 29

The People's Liberation Army also sent fresh troops into Hong Kong in August.

Beijing said the military operation, which took place in the wee hours, was a routine annual rotation, but observers suspect that China has doubled its military personnel in the Hong Kong barracks.

In September, the police authority of Guangdong Province - where Shenzhen is - ordered 150,000 anti-riot officers near Hong Kong to get ready for action ahead of the country's National Day.

It remains unclear if the troops are still stationed in Shenzhen.

A satellite image shows military and security vehicles parked in a stadium in Shenzhen

Chinese servicemen attend a crowd control exercise at the Shenzhen Bay Sports Center in Shenzhen across the bay from Hong Kong on August 16. One of the soldiers is seen carrying a huge fork, which may also be electric, to be used in crowd control during a staged clash

A Hong Kong court today suspended its decision to strike down a government ban on wearing face masks at protests, allowing police to enforce the decree for another week.

The announcement from the city's High Court came after it ruled the ban - which was passed under colonial emergency law - 'unconstitutional' on Monday.

The extension was granted before keenly contested local elections are to be held this Sunday in the semi-autonomous Chinese territory.

Meanwhile, at least eight protesters who had been holding out at a trashed Hong Kong university surrendered on Friday, while others searched for escape routes past riot police who surrounded the campus.

The siege at the city's Polytechnic University appeared to be nearing an end with the number of protesters dwindling to a handful, days after some of the worst violence since anti-government demonstrations escalated in June.

Police said there was no deadline for ending the standoff.

Universities in Hong Kong have this month witnessed some of the worst violent clashes between activists and police since the city's anti-government unrest began in June. Pictured, protesters use a catapult against police during in Hong Kong's City University on November 12

Six protesters hold hands as they leave the Hong Kong Polytechnic University before surrendering to police today. The last group of activists are still holding out on campus

The siege at the city's Polytechnic University appeared to be nearing an end with protesters dwindling after a brutal week. Pictured, police in riot gear move through a cloud of smoke as they detain a protester at the Hong Kong Polytechnic University in Hong Kong on November 18

Litter left by anti-government protesters remains in the campus of the Polytechnic University

The court said on Monday that the anti-mask legislation 'goes further than necessary' to restrict fundamental human rights. Police agreed to stop enforcing the law immediately.

But the Chinese central government slammed the decision, claiming only Beijing has the right to decide on the constitutionality of laws.

The Hong Kong government then appealed for a freeze on the ruling while it appeals to higher courts.

The court said on Monday the anti-mask legislation 'goes further than necessary' to restrict fundamental human rights. It ruled the ban, passed by an emergency law, 'unconstitutional'

Many Hong Kong protesters have defied the mask-ban since it came into effect in October. Pictured, protesters hold up their hands during an anti-government protest at a mall yesterday

The High Court agreed to grant the one-week suspension in view of the 'highly exceptional circumstances that Hong Kong is currently facing', local broadcaster RTHK reported.

China's rubber-stamp parliament rebuked the court ruling this week, in what some interpreted as an indication it might overrule the verdict.

Many Hong Kong protesters have defied the ban, and during lunchtime rallies Friday, some chanted 'We have the right to wear masks'.

Most of the protesters who took over Hong Kong Polytechnic University last week have left, but an unknown number have remained inside for days. Pictured, an aerial view taken today shows the main entrance (top right) to the campus and debris leftover from protesters

Around 1,000 people have been arrested or recorded, including around 300 aged below 18, during the siege. Pictured, an aerial view taken today shows the main entrance (top right) of the campus leading to a road (top) where clashes between protesters and police took place

Tang Chun-Keung, head of the Hong Kong Association of the Heads of Secondary Schools, said the holdouts include minors, numbering less than 10, and they are emotionally unstable. Pictured, hattered glass is seen at Hong Kong Polytechnic University

The city's new police commissioner, Tang Ping-keung, told reporters police would be out in force at polling stations Sunday to respond to any outbreak of violence 'without hesitation'.

Hong Kong authorities have prohibited students in all government-run schools from holding or attending demonstrations on campus after the city's campuses turned into war zones due to escalating clashes between protesters and police.

Youngsters have also been banned from boycotting classes, singing protest songs, shouting slogans, forming human chains or handing out political leaflets, according to a letter issued by the city's Education Bureau to parents yesterday.

Offenders will be punished by their schools, the letter said.

Hong Kong authorities yesterday laid down rules for students in government-run schools after the city's campuses turned into war zones due to clashes. Pictured, protesters use a catapult to fire bricks at the police from inside the Hong Kong Polytechnic University on Sunday

Riot police detain protesters amid clouds of tear gas at the Hong Kong Polytechnic University

The letter was signed off by Secretary for Education Kevin Yeung Yun-hung, who urged students not to destroy social order, including blocking trains, cars and roads.

Students are also warned against joining anti-government rallies or using offensive language outside their schools while wearing their uniforms.

'I urge students to cherish themselves, take care of others, and [I] request that parents advise their sons and daughters against attending dangerous or illegal activities to avoid impact on their whole life,' Mr Yeung said in the letter.

Hong Kong has been rocked by anti-government protests for more than five months.

The movement was ignited in June when millions took to streets in opposition to a now-abandoned attempt to allow extraditions from Hong Kong to the mainland.

More than 5,000 people have been arrested so far in connection to the unrest. Among them, nearly 40 per cent are students.

Students have been banned from forming human chains on campus. Pictured, a group of girls link hands outside St. Paul's Co-Educational College in Hong Kong on September 9

Youngsters will face punishment if they hold or attend any protesters in their schools. They have been banned from boycotting classes too. Pictured, thousands of students gather during a strike on the first day of school at the Chinese University in Hong Kong on September 2

A 12-year-old boy yesterday became the youngest person to be convicted in the protest for spray-painting slogans, including 'damn rogue cops' and 'divine annihilation, free HK', on a police station and train station.

An anonymous headmaster of a government-run school told local newspaper Sing Tao Daily: 'There are indeed students from government-run schools who boycotted classes, [formed] human chains and attended off-campus rallies. Schools have guidance and discipline to deal with [the situation].'

The headmaster added: 'The precondition is that political views should not be promoted inside schools. Teachers and students also need to understand the mission of government-run schools.'

Hong Kong police laid siege to Polytechnic University from last weekend, firing rubber bullets and tear gas to pin back protesters armed with petrol bombs and other weapons and stop them from fleeing amid fears of a bloody crackdown.

The anti-government movement was ignited in June when millions took to streets in opposition to a now-abandoned attempt to allow extraditions from Hong Kong to the mainland. Pictured, protesters react as police fire tear gas after a march to call for democratic reforms on July 21

The siege of the city's Polytechnic University appeared to be nearing an end after almost a week. An aerial view shows the main entrance (bottom central) to the campus on the Kowloon peninsula and debris leftover from protesters who barricaded themselves inside

For days, protesters fortified the campus to keep police from getting in. Cornered by authorities, they were trying to get out.

Desperate activists tried to flee by climbing through sewage pipes or abseiling from bridges.

Around 1,000 people have been arrested or recorded, including around 300 aged below 18, during the siege of the university on the Kowloon peninsula, according to police.

Most of the protesters who took over Hong Kong Polytechnic University last week have left, but an unknown number have remained inside for days, hoping somehow to avoid arrest.

Tang Chun-Keung, head of the Hong Kong Association of the Heads of Secondary Schools, said the holdouts include minors, numbering less than 10, and they are emotionally unstable. Tang entered the campus Friday with some others but failed to find them.

'We have lawyers and social workers ready to provide assistance and we hope to persuade them to leave the campus. We are worried our work is getting more and more difficult because students are refusing to meet us,' he told reporters.

Police chief Tang reiterated that those under 18 could leave, although they might face charges later, and pledged impartial treatment for all adults facing arrest.

'The condition is deteriorating and dangerous, there are many explosives and petrol bombs inside ... we hope to end the matter peacefully,' he said, adding police didn't set any deadline to end the siege.

The anti-government protesters battled with police and blocked the nearby approach to a major road tunnel, which remains closed. It was the latest bout in more than five months of unrest. Protesters are demanding fully democratic elections and an investigation into alleged police brutality in suppressing the demonstrations.

Anti-government rallies were held sporadically in the past two days. Riot police broke up minor scuffles between protesters and pro-Beijing supporters at a downtown bridge Friday, but there were no major clashes ahead of Sunday's district council elections.

City leaders have said they want to go ahead with the vote, seen as a bellwether of public support for the protests, but warned violence could make it impossible to hold a fair and safe election.

Asked if the police presence would make voters feel uncomfortable, police chief Tang said it will make citizens 'feel safe to go out and vote.'