diff --git a/Marlin/gcode.cpp b/Marlin/gcode.cpp
index 713b0891087c95184cd9b1a88142f0f811e4f662..0cb2337338f086299d8089e0e953737b0d2ef288 100644
--- a/Marlin/gcode.cpp
+++ b/Marlin/gcode.cpp
@@ -183,7 +183,8 @@ void GCodeParser::parse(char *p) {
     #endif
 
     if (PARAM_TEST) {
-
+    
+      while (*p == ' ') p++;                    // skip spaces vetween parameters & values
       const bool has_num = DECIMAL_SIGNED(*p);  // The parameter has a number [-+0-9.]
 
       #if ENABLED(DEBUG_GCODE_PARSER)
@@ -221,7 +222,7 @@ void GCodeParser::parse(char *p) {
     }
 
     if (!WITHIN(*p, 'A', 'Z')) {
-      while (*p && NUMERIC(*p)) p++;              // Skip over the parameter
+      while (*p && NUMERIC(*p)) p++;              // Skip over the value section of a parameter
       while (*p == ' ') p++;                      // Skip over all spaces
     }
   }