Except the current use of the byproduct is not just flaring it off pointlessly as waste. The byproduct is being burned as a fuel, which in that usage is already (nearly) neutral. If an alternative fuel has to be used instead, that fuel is more than likely going to be natural gas or coal.
It's correct that lignin is used as a fuel, here's one source of it. ~98 is burnt.
"currently most of the lignin produced from paper industry is burned as low-value fuel to generate electricity and heat (Luo and Abu-Omar, 2017) and only less than 2% is used for producing specialty chemicals ..." https://www.sciencedirect.com/science/article/abs/pii/S09266...