China barely imports anything from India so there's not even a place to start.
Wiki infobox suggests that they just have 3% exports to India, they can choose to take that hit. https://en.m.wikipedia.org/wiki/Economy_of_China
It’s like the US which is currently undermining itself in some sort of nonsensical effort to match China in the very things we don’t like about China and ends up hurting China.