Is there a way to set cosmetic threads to not show through parts?

I would like to keep cosmetic thread visibility on, but I don't want to be able to see them when they are at the back of the model or through other components in an assembly. Is this possible?

SolidworksGeneral