Title: &#8220;script type=application/ld+json&#8221; contains &#8220;html comments&#8221;
Last modified: August 3, 2020

---

# “script type=application/ld+json” contains “html comments”

 *  [Diogo Pé](https://wordpress.org/support/users/diogoalves86/)
 * (@diogoalves86)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/script-typeapplication-ldjson-contains-html-comments-4/)
 * Hi everybody.
 * After install the “Schema and Structured Data for WP” I’m getting an error on
   my Google Search Console.
 * Their crawler has detected the following error: “The text tag script type=application/
   ld+json contains html comments, which is disallowed”. (This message was translated
   from Portuguese. I don’t know how it was in original version – English)
 * This error affect, among others pages, the page: [https://programadoresbrasil.com.br/2020/06/download-do-minecraft-para-pc/amp/](https://programadoresbrasil.com.br/2020/06/download-do-minecraft-para-pc/amp/)
 * I also use the “AMP for WP” plugin.
 * Could somebody help me please ?
 * Thank you, Diogo Pé.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscript-typeapplication-ldjson-contains-html-comments-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/script-typeapplication-ldjson-contains-html-comments-4/#post-13211888)
 * We created a ticket for this issue. It will be fixing in our future updates.
 * Reference: [https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1140](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1140)
 *  Thread Starter [Diogo Pé](https://wordpress.org/support/users/diogoalves86/)
 * (@diogoalves86)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/script-typeapplication-ldjson-contains-html-comments-4/#post-13212153)
 * Ok.
 * Thank you !
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/script-typeapplication-ldjson-contains-html-comments-4/#post-13610547)
 * We can’t able to recreate this issue from our end. Can you please tell me are
   you still facing the same issue?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘“script type=application/ld+json” contains “html comments”’ is closed
to new replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Magazine3](https://wordpress.org/support/users/magazine3/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/script-typeapplication-ldjson-contains-html-comments-4/#post-13610547)
 * Status: not resolved