Not sure what you are referring to. If it is a "guideline", it is on the "Guides" layer and can easily be deleted. If you don't want to delete it, you can turn the layer's visibility off. If you are referring to the page separator, it only appears when there are multiple pages withing the document. In that case, either do not create multiple pages or turn the "Multiple Page View" off.