diff --git src/wp-admin/includes/upgrade.php src/wp-admin/includes/upgrade.php
index 85439b4..1444ef7 100644
--- src/wp-admin/includes/upgrade.php
+++ src/wp-admin/includes/upgrade.php
@@ -2553,6 +2553,7 @@ function dbDelta( $queries = '', $execute = true ) {
 			$validfield = true;
 			switch ( $fieldname_lowercased ) {
 				case '':
+					continue 2;
 				case 'primary':
 				case 'index':
 				case 'fulltext':
diff --git tests/phpunit/tests/dbdelta.php tests/phpunit/tests/dbdelta.php
index 1e9c93f..f8b6634 100644
--- tests/phpunit/tests/dbdelta.php
+++ tests/phpunit/tests/dbdelta.php
@@ -996,4 +996,37 @@ class Tests_dbDelta extends WP_UnitTestCase {
 			$updates
 		);
 	}
+
+	/**
+	 * @ticket 44767
+	 */
+	function test_ignore_empty_lines_completely() {
+		global $wpdb;
+
+		$schema = "
+			CREATE TABLE {$wpdb->prefix}dbdelta_test4 (
+				`foo-bar` varchar(255) DEFAULT NULL,
+
+				`foo-baz` varchar(255) DEFAULT NULL
+			)
+		";
+
+		$wpdb->query( $schema );
+
+		$schema_update = "
+			CREATE TABLE {$wpdb->prefix}dbdelta_test4 (
+				`foo-bar` varchar(255) DEFAULT NULL,
+
+
+
+				`foo-baz` varchar(255) DEFAULT NULL
+			)
+		";
+
+		$updates = dbDelta( $schema_update );
+
+		$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}dbdelta_test4" );
+
+		$this->assertEmpty( $updates );
+	}
 }
