Over the past years, carbon-based aerogels have attracted interest in various fields (e.g., energy storage and conversion devices, sensors, stretchable conductors, and catalyst supports) due to their unique physical properties,such as low apparent density, high electrical conductivity, porosity, and specific surface area27–34.