It's hard to tell what's the issue without the full script.
I guess you might missing '*/' at the end of the script.
Here’s an example of some T-SQL code that returns this error:
/*
Alter FT_View.sql **********
CREATE OR ALTER VIEW FT_VIEW
as
select
Result:
Msg 113, Level 15, State 1, Line 8 Missing end comment mark '*/'.
How to Fix the Error:
The way to fix this error is to either add a closing comment mark, or remove the opening one.
So either:
/*
CREATE OR ALTER VIEW FT_VIEW
as
select
*/
Which makes the whole thing a comment, or:
CREATE OR ALTER VIEW FT_VIEW
as
select
Which removes the comment, and runs the statement.
Obviously, this is just a sample statement for demonstration purposes, your statement will probably be different.
You need the check SQL script thoroughly to find the missing part or you can remove '/*' at the beginning of your script.