If plants in general needs light to survive then depriveing it of light will force the plant to use what ever is left within the plant to keep it alive until it can get light again. Therfore, if in fact the nutrients, sugar, starch, or chlorophyll is what makes the bud harsh when burned then it would make sense to starve it of light before harvest.
I feel like if your plant is shit to begin with at late late flowering stage, there is nothing you can do at that point. It’s all about the genetics and how you raise your plant. But it starts off with genetics.