afaik you can't do that as-is in BTEQ.
The only way i know is to move the comment after the REPLACE, e.g.
REPLACE VIEW SampleDB.TestView AS
This is a test view.
LOCKING ROW FOR ACCESS