Enough mis information and hunches is spread around I feel obligated to speak up on this one from experience and real know how.
Hydrofluoric will work to get rid of quarts but if you get a drop on our skin you have about 30 seconds to shoot adrenaline into your heart before you die. And then you will need hospitalization and most likely will never recover fully.
Some specimens can not be cleaned, just a fact of life.
Anything iron or limonite can be taken off with hot HCL or Muriatic acid.
heating wont do any good but to remove sulfides from ore. Dont heat ore if you dont know whats it in, it can contain Mercury, tellurium and other nasty things you dont want to breath and get in your system to make you go crazy and die. no amount of gold is worth losing your hair, sight, finger nails, and having a skinny Grey appearance, and of course your mind, seizures and finally when your in a lot of slow agonizing pain...a welcome death.
When you were 3 your parents told you not to stick forks in electrical sockets. I am telling you know not to mess with some acids you dont understand and ores too, and thank god you cant get a hold of Hydrofluoric with ease, few people work with it and there is a reason for that. most just wont take the risk, not worth it. Best to send it too someone to preform the service for you.
Most specimens are more valuable to collectors left in tact as found, If there is still dirt on them some collectors pay a premium for it. particularly if you have a location and time found and how etc.
Just like you dont want to polish a rare coin. Dont Polish or try to improve a nugget. its worth more to the purists.
Aqua Regia will not dissolve the quartz, but will dissolve the gold, Aqua Regia is not used for cleaning, its for refining and dissolving gold only, Its the same effect as trying to wash salt with water...not a good Idea.
I use aqua regia all the time to recycle gold. It will eat the gold and leave the rock behind. Unscathed.
This is how we dismount gem stones from junk jewelry.
The gems are reused. and so is the gold.
Point is, Some specimens just need to be left as is.