Do you think this aspect of Chinese culture started with Communism? Sorry, but you are wrong. This has been a part of Chinese culture and philosophy for centuries. The group/country comes before the individual.
Communism has supplanted that to a large degree of course, but Communism did not initiate this behavior amongst the Chinese.