diff --git a/tests/cases/compiler/noDefaultLib.ts b/tests/cases/compiler/noDefaultLib.ts
index 718f5e216b..77c7961e00 100644
--- a/tests/cases/compiler/noDefaultLib.ts
+++ b/tests/cases/compiler/noDefaultLib.ts
@@ -1,5 +1,4 @@
// @noLib: true
-///
var x;
interface Array {}
diff --git a/tests/cases/compiler/typeCheckTypeArgument.ts b/tests/cases/compiler/typeCheckTypeArgument.ts
index ea125f62c0..ff39fc4b98 100644
--- a/tests/cases/compiler/typeCheckTypeArgument.ts
+++ b/tests/cases/compiler/typeCheckTypeArgument.ts
@@ -1,4 +1,4 @@
-///
+// @noLib: true
var f: () => void;
diff --git a/tests/cases/conformance/decorators/1.0lib-noErrors.ts b/tests/cases/conformance/decorators/1.0lib-noErrors.ts
index c070dd6966..5404c6369c 100644
--- a/tests/cases/conformance/decorators/1.0lib-noErrors.ts
+++ b/tests/cases/conformance/decorators/1.0lib-noErrors.ts
@@ -15,8 +15,6 @@ See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
-///
-
/////////////////////////////
/// ECMAScript APIs
/////////////////////////////
diff --git a/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts b/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts
index bf79508456..7ae67975b2 100644
--- a/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts
+++ b/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts
@@ -1,5 +1,4 @@
// @noLib: true
///
-///
declare function foo(): void;
declare function bar(): void;
diff --git a/tests/cases/projects/No-default-lib/test.ts b/tests/cases/projects/No-default-lib/test.ts
index ff4e731efb..0324de03e4 100644
--- a/tests/cases/projects/No-default-lib/test.ts
+++ b/tests/cases/projects/No-default-lib/test.ts
@@ -1,4 +1,4 @@
-///
+// @noLib: true
var x: Array;