SSMS 2017 Export SCOPED CONFIGURATION
why GenerateScripts doesn't include SCOPED CONFIGURATION lines?


Because When scripting objects, DB Scoped configuration that has default values are omitted.

Check SQL Server Management Studio - Changelog (SSMS) for more information. 

SSMS 18.0 (preview 4) -> Bug fixes -> Object Scripting