Bind an unused key
In the CS:GO Legacy console, enter bind F6 and note the current assignment. If it is unused, enter bind F6 "r_cleardecals". Make a few bullet marks on a wall in local practice and press F6 to test.
What the command clears
It removes existing surface decals, including blood and bullet marks. New marks can still appear. Test this in CS:GO Legacy because CS2 uses a different command set.
Undo the bind
If F6 was unused, enter unbind F6. Restore the previous binding if it had one. Check your CFG if the binding returns after restarting.