Don't know about China, but they do have an issue with colonialism going back centuries and centuries, even if the Han culture eventually "conquered" the invaders.
All the Americas were colonized, and most (but not all) are doing better than India. Indonesia is roughly twice as rich per capita. South Africa is even richer. And Malaysia even richer than it. Algeria, Libya. Korea and Taiwan were both colonized and much more exposed to WW2, and they're very well off.
The poorest countries in the world were mostly colonized, but that's because most of the world has been victims of colonialism. And the effects of colonialism reverberate to the present day. But it's not really powerful IMO as an explanatory variable for differences in human development in the non-European world.
I contrast the west with, for example, Russia, which has a very intelligent work-force and extensive natural resources, but has been unable to break out of the corruption and lack of trust endemic to their culture. India is another example: there is no reason they shouldn't be a first world country looking only at their human and natural capital. The middle east is lousy with countries with incredibly intelligent peoples stuck in second-world (at best) conditions. And so on.