I have a custom template that starts
    #region Names
    /// <summary>More names added for consistency of access</summary>
    public static <[If IsSubType]>new <[EndIf]><[If UsePartialClasses]>partial <[EndIf]>class Names
		{
But the generated code
    // __LLBLGENPRO_USER_CODE_REGION_START CustomEntityCode
    // __LLBLGENPRO_USER_CODE_REGION_END        #region Names
    /// <summary>More names added for consistency of access</summary>
    public static partial class Names
		{
It would seem that the first line is appended directly after the REGION_END comment rather than the next line.