Nope - hard carbon isn't quite diamond, but it's a heavily cross-linked very large molecule and isn't soluble; you have to break it down mechanically or chemically. Unfortunately anything that will chemically degrade hard carbon will also do a number on barrel steel.
The citrid acid can sort some corrosive effect on the barrel?