Application templates should default to publish_to: none (#52740)

diff --git a/packages/flutter_tools/templates/app/pubspec.yaml.tmpl b/packages/flutter_tools/templates/app/pubspec.yaml.tmpl
index dbe2b69..cd14faa 100644
--- a/packages/flutter_tools/templates/app/pubspec.yaml.tmpl
+++ b/packages/flutter_tools/templates/app/pubspec.yaml.tmpl
@@ -1,8 +1,9 @@
 name: {{projectName}}
 description: {{description}}
-{{#withPluginHook}}
-publish_to: 'none'
-{{/withPluginHook}}
+
+# The following line prevents the package from being accidentally published to
+# pub.dev using `pub publish`. This is preferred for private packages.
+publish_to: 'none' # Remove this line if you wish to publish to pub.dev
 {{^withPluginHook}}
 
 # The following defines the version and build number for your application.