How to remove SKU on the product page of Magento 2.3.7?

To remove it just from the view, copy the following file:

vendor\magento\module-catalog\view\frontend\layout\catalog_product_view.xml

to your template folder, which should be something like this:

 

app\design\frontend\[your_theme]\theme\Magento_Catalog\layout\catalog_product_view.xml

Then remove the following block of code (should be somewhere around line 44)

<code>
<block class=”Magento\Catalog\Block\Product\View\Description” name=”product.info.sku” template=”Magento_Catalog::product/view/attribute.phtml” after=”product.info.type”>
<arguments>
<argument name=”at_call” xsi:type=”string”>getSku</argument>
<argument name=”at_code” xsi:type=”string”>sku</argument>
<argument name=”css_class” xsi:type=”string”>sku</argument>
<argument name=”at_label” xsi:type=”string”>default</argument>
<argument name=”add_attribute” xsi:type=”string”>itemprop=”sku”</argument>
</arguments>
</block>
</code>

And replace it with:

 

<referenceBlock name=”product.info.sku” remove=”true”/>
clear the cache, and the SKU should be removed from the product view.