Amazon.Runtime.Internal.Util.IniFile.IsCommentOrBlank C# (CSharp) Method

IsCommentOrBlank() private static method

private static IsCommentOrBlank ( string line ) : bool
line string
return bool
        private static bool IsCommentOrBlank(string line)
        {
            if (line == null)
            {
                return true;
            }
            else
            {
                line = line.Trim();
                return string.IsNullOrEmpty(line) 
                    || line.StartsWith(semiColonComment, StringComparison.Ordinal) 
                    || line.StartsWith(hashComment, StringComparison.Ordinal);
            }
        }