My dad always said, in addition to what has already been stated, to take out the spark plug(s) and put a couple of drops of oil into the cylinder. Before putting the plug back in, turn it over a couple of times to coat the cylinder wall and protect it from corroding.
He also had some way to make sure that the valves were closed but that escapes me and I'm not even sure why that would help.