Twelve killed and 60 wounded over the past 24 hours in Turkish shelling and air raids on Kurdish Afrin, monitor says.

Turkey says it won't hand over Afrin in northern Syria to the government in Damascus after it removes the Kurdish YPG militia, as its military and allied rebel forces prepare to attack the surrounded city.

Thousands of people continued to flee Afrin on Thursday to Nubul and Zhara in the northern countryside of Aleppo, which is under control of the Syrian government, amid air raids, artillery shelling, and the threat of an imminent ground invasion, according to the Syrian Observatory for Human Rights war monitor.

Twelve people were killed and 60 wounded over the past 24 hours in Afrin city and its outskirts, the UK-based group reported. Kurdish sources said the death toll is likely to increase as many wounded are in critical condition.

"Our staff are doing their best, but our rooms are filled with wailing wounded and people in pain, as we lack some medical supplies," Dr Joan Shitika, head of the Afrin city hospital, told dpa news agency.

10,000 displaced in a day

The Turkish offensive against the Kurdish People's Protection Units (YPG) in Afrin started on January 20. Ankara considers the YPG to be a "terrorist organisation" linked to the Kurdistan Workers' Party (PKK), which has waged a decades-old armed rebellion inside Turkey.

The Turkish bombardment of Afrin has forced about 10,000 people from their homes over the last 24 hours.

"The air raids and artillery shelling have not calmed down," said Birusk Hasaka, the YPG spokesman in Afrin. "A number of civilians have been displaced, and they are around 10,000 people."

Arab and Turkish television broadcast images on Thursday of residents leaving Afrin in cars and on foot. The Turkish DHA TV showed trucks loaded with personal belongings lining the road out of Afrin - the only remaining exit.

Those who stayed behind formed long queues outside shops to buy bread and other foodstuffs in preparation for a full-fledged siege by Turkish and allied forces.

'Changed their tune'

Turkey's presidential spokesman Ibrahim Kalin said on Thursday that Ankara would assume control of Afrin after it seizes the area from Kurdish forces.

"We have no intention or thought of giving it to the [Syrian] regime," Kalin said in comments carried by state broadcaster TRT.

Kalin said Afrin city's centre would be "cleansed of terrorists in a very short time".

'In one ear...'

The European Parliament, meanwhile, urged Turkey to pull its troops out of Syria amid "grave concern over the spiralling violence" in Afrin and other areas.

The parliament "calls on the Turkish government to withdraw its troops and play a constructive role in the Syrian conflict", according to a final draft of a resolution approved on Thursday by a majority of EU legislators.

Turkey's President Recep Tayyip Erdogan dismissed the call.

"Don't get too excited. We won't leave [Syria] until our job is done. You should know this. All of these words go in one ear and out the other," he said in response.

The European Parliament resolution shows "clear support for the terrorist group", Turkish EU Affairs Minister Omer Celik added. He also rejected claims of civilians being targeted in Afrin.

The YPG has been a key American ally in the fight against Islamic State of Iraq and the Levant (ISIL, also known as ISIS) in Syria, and has received US weapons, supplies, and training.