China says it will attend a virtual meeting of Central and South Asian state leaders to discuss the situation in Afghanistan.