The evidence about sunscreen causing melanoma is exactly as weak as the evidence that intermittent high UV causes melanoma: guilt by association.
I do not personally think sunscreen has a thing to do with melanoma. I am not trying to persuade you it is harmful. The evidence that intermittent strong UV exposure causes melanoma is the based on the observation that those individuals have a higher risk. They are exactly the same cohort as ones using sunscreen, so the evidence for either as the cause is exactly the same (and studies providing clarity equally problematic).
Based on an association of UV and lentigo maligna melanoma (which is really transition of actinic damage to a malignant form) it might make sense to implicate UV for the other 85% of “regular” melanomas and draw a conclusion that UV should be implicated for all melanomas.
However, the available data shows that prolonged exposure to UV is protective for melanoma, so the association of UV and (regular) melanoma is substantially weakened.
Here’s how all the advice tends to be heard by the typical lay person:
“Stay out of the sun. Use sunblock or sunscreen generously, or stay indoors.”
Here’s how I’d summarize a best practice:
“Avoid getting sunburned. Chronic exposure to the sun will age your skin and increase the risk of many skin cancers. There are health benefits to being in the sun, so the best advice is to have your skin regularly checked by a qualified clinician. There’s no evidence that being in the sun increases your overall chance of melanoma, and there is some evidence that overall health benefits may accrue despite the increased risk of some skin cancers.”
If I were asked about melanoma in particular:
“The evidence that UV causes lentigo maligna melanoma is pretty good. We think LMM is basically a skin-damage cancer, and we know UV causes skin-damage cancers. However, this is only about 15% of all melanomas. For the other 85%, we don’t know. Chronic sun exposure has been shown to be associated with a decreased risk, for reasons that are not known.”
If I were asked about the overall benefits of being out in the sun versus avoiding it:
“At least one study looking at all-cause mortality in women found that those who avoided the sun had significantly higher overall mortality. Don’t confuse lily white skin as a marker for overall health.”