There's a few reasons why I wouldn't worry about it in the slicer. The first is that often some critical settings may be set elsewhere in the file, and not set specifically for that layer (e.g., fan speed). The second is that on a object with a decent chunk of infill, the gcode for a layer may be huge. I just opened the gcode for a fairly simple box structure, with a texture in the outside. That single layer had almost 2000 lines of gcode in it. I'd use a decent text editor, with some good search capability. I use BBedit for browsing gcode.

Just checked another one with gyroid infill. It had 9500 lines in a full gyroid layer.