What prevents storage variables from being declared within Solidity functions? 🤔

Storage variables maintain state between function calls and are exclusively contract-level declarations, as their purpose is permanent contract storage rather than temporary function scope. 📝