China is looking to establish herself as a world power, that sole ambition in itself puts her in a direct conflict with the US and it's allies like you guys aka the Kabul puppet state, the fact that there is already a standoff in the south China sea with the US provoking China in every step of the way, there is a lot of vested interest China has for one of her closest ally Pakistan, anyone who thinks that China does not have such ambitions is either a fool or a liar.
The probability of China dumping Pakistan which in itself is idiotic and stupid to even think about but still would be the same as the US dumping it's relations with Israel as countless times in the past China has stated that "Pakistan is our Israel".
http://www.aljazeera.com/indepth/features/2010/10/20101028135728235512.html
You are seriously delusional if you are thinking China would dump Pakistan in any scenario, the countless investment and specially CPEC's core objective being to alleviate the threat US poses in the south China sea, but I don't think you are, I think you are just a liar.
Also I think you should be clear on this, a US and an Indian puppet regime in Afghanistan is and will always will be an existential threat to Pakistan, you have proven and will continue to prove this in the future, your presence is against our interest and against the interest of Afghanistan in general.