It doesn't just sound pedantic, it is pedantic.
The topic is clearly about personality traits not medical conditions.
Contextualizing it would make sense if you had not said "literally no context". This is my point, black and white language like this repels nuance.
This statement is still true: "There's literally no context where attributing qualities to people based on their skin color is OK."
You wanted to be pedantic, so you ignored the context in which that statement was made. If you hadn't ignored the context, you would've known the statement was about personality traits and not medical conditions.
The statement was obviously about personality traits, that much was clear based on the context in which the statement was made (this HN thread). You are now ignoring the context in which the statement was made and instead focusing on the use of the word 'context' within the statement itself. To make it easier for you to understand, here is what was implied by the statement given the context in which it was made "There's literally no context where attributing PERSONALITY qualities to people based on their skin color is OK."
Your argument about medical conditions is not only wrong (as pointed out by another commenter), it's completely irrelevant and off-topic. The discussion was only about personality traits until you tried to derail it.