"Afghanistan would be over in literally, in 10 days," Donald Trump had said.

Highlights "Could easily win Afghan war, didn't want to kill millions," Trump said

US should clarify Trump's comments, Afghan President Ashraf Ghani said

Trump's comment have sparked outrage in war-torn Afghanistan

Afghan President Ashraf Ghani said Tuesday the US should clarify remarks President Donald Trump made about Afghanistan, including a claim he could easily win the war but didn't "want to kill 10 million people".

The US leader made several surprising statements Monday alongside Pakistan Prime Minister Imran Khan at the White House, including that he had plans for a quick end to the Afghan conflict, but which would wipe the country "off the face of the Earth".

Afghanistan "would be gone. It would be over in literally, in 10 days," Trump said, adding, "I don't want to go that route" and that he didn't want to kill millions.

His comments sparked upset and outrage in Afghanistan, where the war-weary and traumatised population is already worried about a precipitous pull-out of US forces and whether that means a return to Taliban rule and a spiralling civil war.

"The government of the Islamic Republic of Afghanistan calls for clarification on the US president's statements expressed at a meeting with the Pakistan prime minister, via diplomatic means and channels," Ghani's office said in a statement.

Trump also said Pakistan would help the US "extricate" itself from Afghanistan, adding there was "tremendous potential" in the relationship between Washington and Islamabad.

Afghanistan has long blamed Pakistan for fuelling the Afghan conflict and for supporting the Taliban, and Ghani is furious about being continually sidelined by the US in ongoing peace talks with the Taliban.

Pakistan was the Taliban's chief sponsor when it took power in neighbouring Afghanistan during the 1990s.

Its influence over the group, which has waged an insurgency since it was ousted from power by US-led forces in 2001, is seen as key in facilitating a political settlement with Ghani's government.

"While the Afghan government supports the US efforts for ensuring peace in Afghanistan, the government underscores that foreign heads of state cannot determine Afghanistan's fate in absence of the Afghan leadership," Ghani's office said.

Everyday Afghans took to social media to vent after Trump's comments.

"I feel shocked, threatened and humiliated. We trusted Americans to help us in the war against terror, and now President Trump is threatening us with genocide," Facebook user Mohd Farhad wrote.

Trump's peace envoy for Afghanistan, Zalmay Khalilzad, meanwhile arrived in Kabul on Tuesday ahead of what will be the eighth round of direct talks he's held with the Taliban.

Those discussions are expected to get underway in Doha in the coming days, with Ghani and his administration once again locked out.