Not invasive if you don't let it flower. But once you have it in the ground, you will never get rid, as it propagates from the smallest bit of root.
I'm not sure if this is a silly question or not but is it worth keeping? I am aware of it's uses as a tea feed for plants so is it worth planting it in a corner of the garden? Is it overly invasive?