diff --git a/src/NuGet.Clients/NuGet.CommandLine/.editorconfig b/src/NuGet.Clients/NuGet.CommandLine/.editorconfig
deleted file mode 100644
index d2c3d3ce2f5..00000000000
--- a/src/NuGet.Clients/NuGet.CommandLine/.editorconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-# C# files
-[*.cs]
-
-# CS1591: Missing XML comment for publicly visible type or member
-dotnet_diagnostic.CS1591.severity = suggestion
diff --git a/src/NuGet.Clients/NuGet.CommandLine/NuGet.CommandLine.csproj b/src/NuGet.Clients/NuGet.CommandLine/NuGet.CommandLine.csproj
index 0330bc2727c..d25d2315f6f 100644
--- a/src/NuGet.Clients/NuGet.CommandLine/NuGet.CommandLine.csproj
+++ b/src/NuGet.Clients/NuGet.CommandLine/NuGet.CommandLine.csproj
@@ -24,7 +24,8 @@
false
GetSigningInputsCustom
GetSymbolsToIndexCustom
-
+ $(NoWarn);CS1591
+