The line would of course need to be designed to handle that, as well as the increased load as the payload is hoisted up to the moon.
Also, if we start with a rocket+fuel on earth, and end with a rocket on the moon, there's an inevitable input of energy to move the rocket to a location of higher gravitational potential, that would have to be provided with hoisting as well, but there's also be a lot of rocket exhaust (formerly fuel) that's now zipping around the solar system, carrying away energy.
Or to think another way think of all the challenges with human powered helicopter where the record is reaching 3.3 meters in 64 second flight, whereas any moderately physically fit person can climb the same height on the rope much faster and hang out there indefinitely, because they did not have to lift the weight of the helicopter and send the big masses of swooshing air down from the blades just to combat the force of gravity.