The death toll related to genocide or political repression in China over the past century could range between 20 million and 50 million or more, depending on how the events are categorized and interpreted.
The total number of deaths caused by genocide, political repression, and civilian casualties from German actions during the past 100 years is estimated to be between 30 million and 37 million people (with the overwhelming majority occurring during World War II and under the Nazi regime).
So if we compare apples to… bigger apples, they don’t look that dissimilar. The only difference to me is that China has largely gotten away with it.