Both the assertion and the reason are accurate. Prior to its economic reforms, China's public investment in healthcare and education contributed to an improved Human Development Index (HDI), which in turn led to China outperforming India and Pakistan across most HDI metrics. Therefore, Reason (R) accurately substantiates Assertion (A).