Light will degrade THC any time it hits it .. even while plants grow.
The less light you have while drying and curing the better it is because unlike while growing the herb cannot replace the degraded THC while drying or curing so its just lost forever.