The preprocessor runs before the compiler and will effectively insert the code so that it is the same as your current code. The above is just a shortcut to save typing.
I'm not up to speed on the AVRs but I suggest you define a SaveRAM section in the link file and place all your variables (that need saving) in that section. You can then save/restore with a simple for loop.