You probably want something akin to DrWatson.jl. It provides a structure for this kind of workflow.
Also, please don’t comment and uncomment lines as needed! Use global Booleans to control this kind of behavior.
Another trick I like is to keep many data-sets in a dictionary, and use @pack and @unpack to work with them inside functions.