HN users who are Chinese or of Chinese background have a right to come here and not see comments like that one, just the same as all HN users do.
Edit: actually, once I read the context of the thread, I see your point. The parent comments were talking about the Chinese government, so it's reasonable to see that as having been in scope.
If the user above had said "the Chinese government", "The Communist Party of China" or simply "the party" then their comment would have been acceptable to you?
When we write “the Chinese” there is bound to be at least some subset of readers who see that and assume the write meant all Chinese.
I don’t believe we can be certain of the writers intent until the writer makes it clear.
What you're saying about "Chinese people" seems to me true of all people.