Hello frenchs9867 !
The search box and the comment box are widgets in WordPress. You can remove and add widgets in the Appearance > Widgets section of the WordPress Dashboard. You can also edit the header and footer in the Appearance section.
If you do not have the widget option, you may need to edit the code. You can try commenting the code instead of deleting the code as well. The following tutorial can help you with this.
how do you either disable or delete posts on the main menu so that the search box and the comment box on the site is gone. I tried deleting a block of php and looking for plugins but no luck and when I tried deleting php I couldn't even sign on to wordpress site. please help. and thank you.