Ankara: Turkish Prime Minister Ahmet Davutoglu on Thursday said a ceasefire agreed between Syria's warring parties was only valid inside Syria and was "not binding" for Turkey if its national security was threatened.
"It must be known that the ceasefire is valid in Syria," Davutoglu said in televised remarks in the central Anatolian province of Konya.
"When it is a question of Turkey's security, then the ceasefire is not binding for us," he added.
Turkey on successive days last week targeted Kurdish fighters inside Syria with artillery barrages, saying that the army was responding to incoming fire, and had repeatedly reserved the right to open fire again.
Russia and the United States have set a deadline of midnight Damascus time (2200 GMT) Friday for the "cessation of hostilities" between President Bashar al-Assad's regime and non-jihadist rebel forces.
The deal, which marks the biggest diplomatic push yet to help end the five-year conflict in Syria, excludes the Islamic State group and other Sunni extremists.
Davutoglu said Turkey would closely monitor how the ceasefire would be implemented, adding: "We support the ceasefire under any circumstances."
Turkey has demanded that the Syrian Kurdish Democratic Union Party (PYD) and its People's Protection Units (YPG) militia should remain outside the scope of the truce.
It sees both as offshoots of the outlawed Kurdistan Workers' Party (PKK), which is designated as a terrorist organisation by Ankara and its Western allies.
"To us, YPG is a terrorist organisation the same as Daesh (IS) and (Al-Qaeda affiliate) Al-Nusra," the prime minister said.
"There is no terror reference to YPG in the ceasefire. There should have been but there is not."
A militant Kurdish group claimed a suicide car bomb that killed 29 people in the capital Ankara last week but Turkish officials said the bomber was a Syrian Kurd working on behalf of the PYD, which has denied being behind the attack.
Davutoglu on Thursday said if Turkey's security was concerned, "we do not get permission from anyone, we do not ask anyone but we do what's required."
He warned the YPG and the PKK "not to support terror in Turkey" just because of the ceasefire in Syria.
"When it's a question of the security measures Turkey will take, the only place to have a say is Ankara," the premier said.