removing search members field in sidebar.php

Permalink
I am relatively new to C5 and just now exploring into tweeking a few things on my site. One thing that I would like to do is to remove the "search members" field on the User Profile page since I will be using an Ajax Directory page for specific member areas of my site and want to keep the member searches separate for each group.

My question is hopefully simple to answer, Just looking for confirmation actually so I don't wreck something....

In my root directory i went to the Concrete Folder > Elements > Profile > sidebar.php -

From there, is it safe to simply delete the code area at the bottom of the page?:
</div>

<form method="get" action="<?php echo $this->url('/members')?>">
<h4><?php echo t('Search Members')?></h4>
<?php
$form = Loader::helper('form');
print $form->text('keywords', array('style' => 'width: 80px'));
print '  ';
print $form->submit('submit', t('Search'));
?>

AND 2nd question is, does it matter from which editing page I use in Cpanel to make the change? either the "edit" or "code editor" option?

Thanks so much for taking the time to help me learn.

w2f