Need only selected statements in the report

Can I remove the unnecessary statements from the final reports as there are a lot of steps coming in the report with the statements written in the code?