It won't affect your bike's mechanical operation. It will, over time, affect the paint in that area but that'll happen whether you hang the top tube on a storage rack or not.
Don't jack with the cable tension unoess you know what you are doing. Otherwise, you'll screw up your shifting.