State tax filing

I eventually maked all items in capital gain as non taxable in PA  return and also adjusted the amount to 0  in the interest/dividend income transferred from federal to PA, which excluded these amounts from PA income and my PA tax is calculated correctly but I just want to make sure if this is the right way. Will these items (capital gain, dividend & interest income) still shows up in PA return  flagged as non - taxable or should I just delete any forms related to these income items from PA return altogether?