Indeed, a smooth surface, a hammer and some water-based lubricant is probably the least destructive way to get a knot out or your lines. As g0nz0 says, just keep rotating the knot and tapping it with the hammer. It takes a matter of seconds.
But hey, whatever works.