Similar to issue #755 , when I use Set-PnPPage to turn off comments on the page that exists in a folder, it creates a new page instead of modifying the page in the folder.
Run this on the existing page that exists in a separate folder for example /SitePages/Test/Test.aspx
Set-PnPPage -Identity "Test.aspx" -CommentsEnabled:$false
The existing page isn't modified, a new page at the root is created with the same contents of /SitePages/Test/Test.aspx I am not creating the page though PowerShell using Add-PnPPage, so I cannot pipe that output to modify the page as these pages are already created. Using version 1.7.0.