I want to entirely dissolve graphite, but as you all had suggested that graphite is not soluble in polar and non -polar solvents. I will search for possibility of dissolving in any high acidic medium or I will search for an alternative approach by eliminating the process of dissolving graphite.
Graphite can be dissolved in molten salts (LiCl-KCl) in presence of oxide or in nitrate molten salts with formation of CO2(g) but you did not say if you want soluble grahite or not (?).
I suggest you check also this RG discussion, addressing reactive dissolution of graphite: https://www.researchgate.net/post/Chemical_etchant_or_thermal_etching_condition_for_graphite