This is a great idea!
Sometimes, the Gcode file tells us something about the print settings, and other things we can gather from analyzing the file.
This is why we have an extensive Gcode Analysis, that reads through the entire file, with support for over 15 different slicers.
Just from a quick look in a PrusaSlicer-generated Gcode file, the bottom indeed holds some information we could use;
; nozzle_diameter = 0.4
; filament_type = PLA
; filament_colour = #FF8000
; filament_density = 1.24
; filament_diameter = 1.75
Now, I have to curb my excitement for making all the cool features we’re suggested as “Planned”, so we’ll let this one gather some votes first, or wait for our pipeline to have some open slots ;)