Afghanistan and its neighbors have ended a two-day conference in Kabul with a pledge to boost economic cooperation in a region reaching from China to Turkey and the Persian Gulf .