Please be careful and charitable in reading others' words, especially as they relate to scientific topics.
OP did not say that melanoma has no sun exposure risk but that it is lower than the risks associated with other cutaneous cancers (e.g., SCC and BCC) and it would seem that's true based on the very short search I performed.
The criticism and correction were polite, helpful, and appropriate.
The original comment is misleading. Your reply is bizarre, and seems to deliberately misread the original comment, the reply, and the context.
Yes, but OP said that in response to a comment attributing melanoma to sun exposure, in a conversation where nobody had brought up SCC or BCC. It's still a misleading comment, in my opinion.