Take the tank off or it's bound to get scratched. Makes everything much easier anyway. Unless it's changed, which I doubt, the top nut is a 12mm one so make sure you're using the correct size socket but any decent, thin wall socket should do the trick.
Pete